mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-07-21 19:40:17 +00:00
Tweaking weather Alerts
This commit is contained in:
parent
2061ec38fb
commit
7d49309371
@ -73,18 +73,18 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.wxalert_tile
|
- service: script.wxalert_tile
|
||||||
|
|
||||||
alias: "Weather Watch Tornado"
|
- alias: "Weather Watch Tornado"
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.pws_alerts
|
entity_id: sensor.pws_alerts
|
||||||
above: 1
|
above: 1
|
||||||
condition:
|
condition:
|
||||||
condition: or
|
condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.sensor.pws_alerts.attributes.Description == "Tornado Watch" }}'
|
value_template: '{{ states.sensor.pws_alerts.attributes.Description == "Tornado Watch" }}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.sensor.pws_alerts.attributes.Description_TOW == "Tornado Watch" }}'
|
value_template: '{{ states.sensor.pws_alerts.attributes.Description_TOW == "Tornado Watch" }}'
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
entity_id: input_boolean.tornado_watch
|
entity_id: input_boolean.tornado_watch
|
Loading…
x
Reference in New Issue
Block a user