Need the lightning warning condition

This commit is contained in:
Jeffrey Stone 2020-11-27 20:50:09 -05:00
parent 9b222a92e3
commit 7b07417fc4
1 changed files with 4 additions and 4 deletions

View File

@ -530,10 +530,10 @@ automation:
value_template: '{{ states.sensor.back_porch.attributes.strike_count | int == states.sensor.lightning_total_count.state | int }}'
for:
minutes: 20
# condition:
# - condition: state
# entity_id: input_boolean.lightning_warning
# state: 'on'
condition:
- condition: state
entity_id: input_boolean.lightning_warning
state: 'on'
action:
- service: script.text_notify
data_template: