Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Need the lightning warning condition
  • Loading branch information
thejeffreystone committed Nov 28, 2020
1 parent 9b222a9 commit 7b07417
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/packages/weather.yaml
Expand Up @@ -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:
Expand Down

0 comments on commit 7b07417

Please sign in to comment.