Tweaking weather alarms

This commit is contained in:
Jeffrey Stone 2018-03-20 15:40:24 -04:00
parent d026fa82e4
commit 5800d46774
2 changed files with 8 additions and 4 deletions

View File

@ -43,7 +43,7 @@
entity_id: input_boolean.tornado_alarm entity_id: input_boolean.tornado_alarm
to: 'off' to: 'off'
action: action:
- service: script.kill_audible_alarm - service: script.chromecast_stop_media
- service: homeassistant.turn_off - service: homeassistant.turn_off
entity_id: script.tornado_alarm entity_id: script.tornado_alarm
@ -53,7 +53,6 @@
entity_id: input_boolean.tornado_alarm entity_id: input_boolean.tornado_alarm
to: "on" to: "on"
action: action:
- service: script.tornado_warning
- service: homeassistant.turn_on - service: homeassistant.turn_on
entity_id: script.tornado_alarm entity_id: script.tornado_alarm
@ -75,9 +74,8 @@
- alias: "Weather Watch Tornado" - alias: "Weather Watch Tornado"
trigger: trigger:
- platform: numeric_state - platform: state
entity_id: sensor.pws_alerts entity_id: sensor.pws_alerts
above: 0
condition: condition:
condition: or condition: or
conditions: conditions:

View File

@ -0,0 +1,6 @@
chromecast_media_stop:
sequence:
- service: media_player.stop_media
data:
entity_id: media_player.living_room_tv