Make sure there actually was a tornado alarm before running cleanup
This commit is contained in:
@ -458,6 +458,9 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.vacation_mode
|
entity_id: input_boolean.vacation_mode
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.tornado_alarm
|
||||||
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: script.text_notify
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
|
Reference in New Issue
Block a user