NB 26.02.22!
Please support the children of Ukraine – please donate money to UNICEF.
Updated with several more sensors through Europe due to fall out of sensors in Ukraine.
Following has been added:
Belarus Mazyr
Poland Warsawa
Lithuania Klaipeda
Sweden Gothenburg
Have also added sensors in UK – with the following sensors:
United Kingdom Norwich, Sunderland and Inverness.
Have also updated with country to alias/id and naming of automation/sensors.
My heart goes out to Ukraine. Could hope Putin would gain his senses or that the Russian people will take their power back.
Meantime innocent people are suffering and dying by the hand of a megalomaniac.
In the times of being speechless, Kenya put the right words on what is happening.
Kenya in UN
One of the dangerous parts of this war is the possibility of radiation exposure due to attacks on nuclear plants.
For our own safety I have made some sensors and automation based on this post and this site. I have set a higher value for triggering radiation notification and plotted Chernobyl and several central cities in north Europe to get an early warning (due to wind direction).
Adjust to your need and hope it can be some help.
Sensor:
- platform: rest name: Radiation in Ukraine Chernobyl max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=1276_557&zoom=8&_=1645735567311 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Ukraine Chernobyl average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=1276_557&zoom=8&_=1645735567311 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Belarus Mazyr max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=633_282&zoom=7&_=1645905437310 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Belarus Mazyr average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=633_282&zoom=7&_=1645905437310 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Poland Warsawa max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=303_141&zoom=6&_=1645905437324 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Poland Warsawa average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=303_141&zoom=6&_=1645905437324 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Poland Gdansk max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=300_147&zoom=6&_=1645905437336 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Poland Gdansk average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=300_147&zoom=6&_=1645905437336 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Lithuania Klaipeda max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=304_149&zoom=6&_=1645905437339 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Lithuania Klaipeda average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=304_149&zoom=6&_=1645905437339 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Sweden Stockholm max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=150_79&zoom=5&_=1645735567295 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Sweden Stockholm average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=150_79&zoom=5&_=1645735567295 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Sweden Gothenburg max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=290_154&zoom=6&_=1645905437342 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Sweden Gothenburg average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=290_154&zoom=6&_=1645905437342 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Denmark Copenhagen max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=145_74&zoom=5&_=1645735567291 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Denmark Copenhagen average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=145_74&zoom=5&_=1645735567291 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in United Kingdom Norwich max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=274_142&zoom=6&_=1645905437355 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in United Kingdom Norwich average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=274_142&zoom=6&_=1645905437355 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in United Kingdom Sunderland max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=540_294&zoom=7&_=1645905437366 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in United Kingdom Sunderland average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=540_294&zoom=7&_=1645905437366 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in United Kingdom Inverness max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=532_308&zoom=7&_=1645905437380 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in United Kingdom Inverness average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=532_308&zoom=7&_=1645905437380 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json - platform: rest name: Radiation in Norway Oslo max resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=144_80&zoom=5&_=1645735567285 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.max.val }}' headers: Content-Type: application/json - platform: rest name: Radiation in Norway Oslo average resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=144_80&zoom=5&_=1645735567285 scan_interval: 1800 # check every 30 minutes unit_of_measurement: nSv/h value_template: '{{ value_json.avg }}' headers: Content-Type: application/json
Automation:
# Radiation notification Ukraine Chernobyl - alias: Radiation notification Ukraine Chernobyl id: radiation_notification_ukraine_chernobyl mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_ukraine_chernobyl_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_ukraine_chernobyl_max above: 2000 condition: action: - choose: # Radiation warning Chernobyl and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_ukraine_chernobyl_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_ukraine_chernobyl_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Chernobyl!" message: "Increased radiation has been detected in Chernobyl. The level average level is {{(states('sensor.radiation_in_ukraine_chernobyl_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_ukraine_chernobyl_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Chernobyl. The level average level is {{(states('sensor.radiation_in_ukraine_chernobyl_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_ukraine_chernobyl_max'))}} nanoSieverts per hour" # Radiation warning Chernobyl and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_ukraine_chernobyl_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_ukraine_chernobyl_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Chernobyl!" message: "Increased radiation has been detected in Chernobyl. The level average level is {{(states('sensor.radiation_in_ukraine_chernobyl_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_ukraine_chernobyl_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Chernobyl!" message: "Increased radiation has been detected in Chernobyl. The level average level is {{(states('sensor.radiation_in_ukraine_chernobyl_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_ukraine_chernobyl_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Chernobyl. The level average level is {{(states('sensor.radiation_in_ukraine_chernobyl_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_ukraine_chernobyl_max'))}} nanoSieverts per hour" # Radiation notification Belarus Mazyr - alias: Radiation notification Belarus Mazyr id: radiation_notification_belarus_mazyr mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_belarus_mazyr_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_belarus_mazyr_max above: 2000 condition: action: - choose: # Radiation warning Mazyr and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_belarus_mazyr_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_belarus_mazyr_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Mazyr!" message: "Increased radiation has been detected in Mazyr. The level average level is {{(states('sensor.radiation_in_belarus_mazyr_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_belarus_mazyr_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Mazyr. The level average level is {{(states('sensor.radiation_in_belarus_mazyr_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_belarus_mazyr_max'))}} nanoSieverts per hour" # Radiation warning Mazyr and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_belarus_mazyr_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_belarus_mazyr_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Mazyr!" message: "Increased radiation has been detected in Mazyr. The level average level is {{(states('sensor.radiation_in_belarus_mazyr_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_belarus_mazyr_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Mazyr!" message: "Increased radiation has been detected in Mazyr. The level average level is {{(states('sensor.radiation_in_belarus_mazyr_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_belarus_mazyr_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Mazyr. The level average level is {{(states('sensor.radiation_in_belarus_mazyr_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_belarus_mazyr_max'))}} nanoSieverts per hour" # Radiation notification Poland Warsawa - alias: Radiation notification Poland Warsawa id: radiation_notification_poland_warsawa mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_poland_warsawa_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_poland_warsawa_max above: 2000 condition: action: - choose: # Radiation warning Warsawa and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_poland_warsawa_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_poland_warsawa_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Warsawa!" message: "Increased radiation has been detected in Warsawa. The level average level is {{(states('sensor.radiation_in_poland_warsawa_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_warsawa_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Warsawa. The level average level is {{(states('sensor.radiation_in_poland_warsawa_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_warsawa_max'))}} nanoSieverts per hour" # Radiation warning Warsawa and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_poland_warsawa_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_poland_warsawa_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Warsawa!" message: "Increased radiation has been detected in Warsawa. The level average level is {{(states('sensor.radiation_in_poland_warsawa_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_warsawa_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Warsawa!" message: "Increased radiation has been detected in Warsawa. The level average level is {{(states('sensor.radiation_in_poland_warsawa_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_warsawa_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Warsawa. The level average level is {{(states('sensor.radiation_in_poland_warsawa_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_warsawa_max'))}} nanoSieverts per hour" # Radiation notification Poland Gdansk - alias: Radiation notification Poland Gdansk id: radiation_notification_poland_gdansk mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_poland_gdansk_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_poland_gdansk_max above: 2000 condition: action: - choose: # Radiation warning Gdansk and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_poland_gdansk_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_poland_gdansk_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Gdansk!" message: "Increased radiation has been detected in Gdansk. The level average level is {{(states('sensor.radiation_in_poland_gdansk_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_gdansk_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Gdansk. The level average level is {{(states('sensor.radiation_in_poland_gdansk_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_gdansk_max'))}} nanoSieverts per hour" # Radiation warning Gdansk and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_poland_gdansk_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_poland_gdansk_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Gdansk!" message: "Increased radiation has been detected in Gdansk. The level average level is {{(states('sensor.radiation_in_poland_gdansk_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_gdansk_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Gdansk!" message: "Increased radiation has been detected in Gdansk. The level average level is {{(states('sensor.radiation_in_poland_gdansk_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_gdansk_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Gdansk. The level average level is {{(states('sensor.radiation_in_poland_gdansk_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_poland_gdansk_max'))}} nanoSieverts per hour" # Radiation notification Lithuania Klaipeda - alias: Radiation notification Lithuania Klaipeda id: radiation_notification_lithuania_klaipeda mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_lithuania_klaipeda_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_lithuania_klaipeda_max above: 2000 condition: action: - choose: # Radiation warning Klaipeda and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_lithuania_klaipeda_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_lithuania_klaipeda_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Klaipeda!" message: "Increased radiation has been detected in Klaipeda. The level average level is {{(states('sensor.radiation_in_lithuania_klaipeda_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_lithuania_klaipeda_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Klaipeda. The level average level is {{(states('sensor.radiation_in_lithuania_klaipeda_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_lithuania_klaipeda_max'))}} nanoSieverts per hour" # Radiation warning Klaipeda and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_lithuania_klaipeda_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_lithuania_klaipeda_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Klaipeda!" message: "Increased radiation has been detected in Klaipeda. The level average level is {{(states('sensor.radiation_in_lithuania_klaipeda_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_lithuania_klaipeda_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Klaipeda!" message: "Increased radiation has been detected in Klaipeda. The level average level is {{(states('sensor.radiation_in_lithuania_klaipeda_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_lithuania_klaipeda_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Klaipeda. The level average level is {{(states('sensor.radiation_in_lithuania_klaipeda_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_lithuania_klaipeda_max'))}} nanoSieverts per hour" # Radiation notification Sweden Stockholm - alias: Radiation notification Sweden Stockholm id: radiation_notification_sweden_stockholm mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_sweden_stockholm_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_sweden_stockholm_max above: 2000 condition: action: - choose: # Radiation warning Stockholm and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_sweden_stockholm_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_sweden_stockholm_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Stockholm!" message: "Increased radiation has been detected in Stockholm. The level average level is {{(states('sensor.radiation_in_sweden_stockholm_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_stockholm_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Stockholm. The level average level is {{(states('sensor.radiation_in_sweden_stockholm_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_stockholm_max'))}} nanoSieverts per hour" # Radiation warning Stockholm and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_sweden_stockholm_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_sweden_stockholm_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Stockholm!" message: "Increased radiation has been detected in Stockholm. The level average level is {{(states('sensor.radiation_in_sweden_stockholm_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_stockholm_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Stockholm!" message: "Increased radiation has been detected in Stockholm. The level average level is {{(states('sensor.radiation_in_sweden_stockholm_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_stockholm_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Stockholm. The level average level is {{(states('sensor.radiation_in_sweden_stockholm_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_stockholm_max'))}} nanoSieverts per hour" # Radiation notification Sweden Gothenburg - alias: Radiation notification Sweden Gothenburg id: radiation_notification_sweden_gothenburg mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_sweden_gothenburg_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_sweden_gothenburg_max above: 2000 condition: action: - choose: # Radiation warning Gothenburg and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_sweden_gothenburg_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_sweden_gothenburg_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Gothenburg!" message: "Increased radiation has been detected in Gothenburg. The level average level is {{(states('sensor.radiation_in_sweden_gothenburg_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_gothenburg_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Gothenburg. The level average level is {{(states('sensor.radiation_in_sweden_gothenburg_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_gothenburg_max'))}} nanoSieverts per hour" # Radiation warning Gothenburg and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_sweden_gothenburg_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_sweden_gothenburg_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Gothenburg!" message: "Increased radiation has been detected in Gothenburg. The level average level is {{(states('sensor.radiation_in_sweden_gothenburg_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_gothenburg_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Gothenburg!" message: "Increased radiation has been detected in Gothenburg. The level average level is {{(states('sensor.radiation_in_sweden_gothenburg_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_gothenburg_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Gothenburg. The level average level is {{(states('sensor.radiation_in_sweden_gothenburg_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_sweden_gothenburg_max'))}} nanoSieverts per hour" # Radiation notification Denmark Copenhagen - alias: Radiation notification Denmark Copenhagen id: radiation_notification_denmark_copenhagen mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_denmark_copenhagen_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_denmark_copenhagen_max above: 2000 condition: action: - choose: # Radiation warning Copenhagen and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_denmark_copenhagen_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_denmark_copenhagen_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Copenhagen!" message: "Increased radiation has been detected in Copenhagen. The level average level is {{(states('sensor.radiation_in_denmark_copenhagen_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_denmark_copenhagen_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Copenhagen. The level average level is {{(states('sensor.radiation_in_denmark_copenhagen_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_denmark_copenhagen_max'))}} nanoSieverts per hour" # Radiation warning Copenhagen and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_denmark_copenhagen_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_denmark_copenhagen_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Copenhagen!" message: "Increased radiation has been detected in Copenhagen. The level average level is {{(states('sensor.radiation_in_denmark_copenhagen_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_denmark_copenhagen_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Copenhagen!" message: "Increased radiation has been detected in Copenhagen. The level average level is {{(states('sensor.radiation_in_denmark_copenhagen_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_denmark_copenhagen_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Copenhagen. The level average level is {{(states('sensor.radiation_in_denmark_copenhagen_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_denmark_copenhagen_max'))}} nanoSieverts per hour" # Radiation notification United Kingdom Norwich - alias: Radiation notification United Kingdom Norwich id: radiation_notification_united_kingdom_norwich mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_united_kingdom_norwich_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_united_kingdom_norwich_max above: 2000 condition: action: - choose: # Radiation warning Norwich and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_norwich_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_norwich_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Norwich!" message: "Increased radiation has been detected in Norwich. The level average level is {{(states('sensor.radiation_in_united_kingdom_norwich_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_norwich_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Norwich. The level average level is {{(states('sensor.radiation_in_united_kingdom_norwich_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_norwich_max'))}} nanoSieverts per hour" # Radiation warning Norwich and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_norwich_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_norwich_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Norwich!" message: "Increased radiation has been detected in Norwich. The level average level is {{(states('sensor.radiation_in_united_kingdom_norwich_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_norwich_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Norwich!" message: "Increased radiation has been detected in Norwich. The level average level is {{(states('sensor.radiation_in_united_kingdom_norwich_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_norwich_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Norwich. The level average level is {{(states('sensor.radiation_in_united_kingdom_norwich_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_norwich_max'))}} nanoSieverts per hour" # Radiation notification United Kingdom Sunderland - alias: Radiation notification United Kingdom Sunderland id: radiation_notification_united_kingdom_sunderland mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_united_kingdom_sunderland_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_united_kingdom_sunderland_max above: 2000 condition: action: - choose: # Radiation warning Sunderland and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_sunderland_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_sunderland_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Sunderland!" message: "Increased radiation has been detected in Sunderland. The level average level is {{(states('sensor.radiation_in_united_kingdom_sunderland_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_sunderland_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Sunderland. The level average level is {{(states('sensor.radiation_in_united_kingdom_sunderland_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_sunderland_max'))}} nanoSieverts per hour" # Radiation warning Sunderland and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_sunderland_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_sunderland_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Sunderland!" message: "Increased radiation has been detected in Sunderland. The level average level is {{(states('sensor.radiation_in_united_kingdom_sunderland_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_sunderland_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Sunderland!" message: "Increased radiation has been detected in Sunderland. The level average level is {{(states('sensor.radiation_in_united_kingdom_sunderland_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_sunderland_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Sunderland. The level average level is {{(states('sensor.radiation_in_united_kingdom_sunderland_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_sunderland_max'))}} nanoSieverts per hour" # Radiation notification United Kingdom Inverness - alias: Radiation notification United Kingdom Inverness id: radiation_notification_united_kingdom_inverness mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_united_kingdom_inverness_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_united_kingdom_inverness_max above: 2000 condition: action: - choose: # Radiation warning Inverness and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_inverness_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_inverness_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Inverness!" message: "Increased radiation has been detected in Inverness. The level average level is {{(states('sensor.radiation_in_united_kingdom_inverness_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_inverness_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Inverness. The level average level is {{(states('sensor.radiation_in_united_kingdom_inverness_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_inverness_max'))}} nanoSieverts per hour" # Radiation warning Inverness and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_inverness_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_united_kingdom_inverness_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Inverness!" message: "Increased radiation has been detected in Inverness. The level average level is {{(states('sensor.radiation_in_united_kingdom_inverness_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_inverness_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Inverness!" message: "Increased radiation has been detected in Inverness. The level average level is {{(states('sensor.radiation_in_united_kingdom_inverness_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_inverness_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Inverness. The level average level is {{(states('sensor.radiation_in_united_kingdom_inverness_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_united_kingdom_inverness_max'))}} nanoSieverts per hour" # Radiation notification Norway Oslo - alias: Radiation notification Norway Oslo id: radiation_notification_norway_oslo mode: single trigger: - platform: numeric_state entity_id: sensor.radiation_in_norway_oslo_average above: 2000 - platform: numeric_state entity_id: sensor.radiation_in_norway_oslo_max above: 2000 condition: action: - choose: # Radiation warning Oslo and tv is off - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'off' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_norway_oslo_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_norway_oslo_max above: 2000 sequence: - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Oslo!" message: "Increased radiation has been detected in Oslo. The level average level is {{(states('sensor.radiation_in_norway_oslo_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_norway_oslo_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Oslo. The level average level is {{(states('sensor.radiation_in_norway_oslo_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_norway_oslo_max'))}} nanoSieverts per hour" # Radiation warning Oslo and tv is on - conditions: - condition: and conditions: - condition: state entity_id: remote.living_room_hub state: 'on' - condition: or conditions: - condition: numeric_state entity_id: sensor.radiation_in_norway_oslo_average above: 2000 - condition: numeric_state entity_id: sensor.radiation_in_norway_oslo_max above: 2000 sequence: - service: notify.living_room_media_center data_template: title: "Warning - increased level radiation detected in Oslo!" message: "Increased radiation has been detected in Oslo. The level average level is {{(states('sensor.radiation_in_norway_oslo_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_norway_oslo_max'))}} nanoSieverts per hour" data: duration: 15 font-size: max transparency: 50% position: bottom-right - service_template: notify.pushover data_template: title: "Warning - increased level radiation detected in Oslo!" message: "Increased radiation has been detected in Oslo. The level average level is {{(states('sensor.radiation_in_norway_oslo_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_norway_oslo_max'))}} nanoSieverts per hour" data: priority: 0 sound: "pianobar" - service: rest_command.rhasspy_speak data_template: payload_data: "Increased radiation has been detected in Oslo. The level average level is {{(states('sensor.radiation_in_norway_oslo_average'))}} nanoSieverts per hour and max level is {{(states('sensor.radiation_in_norway_oslo_max'))}} nanoSieverts per hour"