Need the lightning warning condition
This commit is contained in:
parent
9b222a92e3
commit
7b07417fc4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue