mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-07-21 11:35:30 +00:00
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…
x
Reference in New Issue
Block a user