Tweaking weather Alerts
This commit is contained in:
parent
6e19e4cc63
commit
2061ec38fb
|
@ -72,3 +72,19 @@
|
|||
entity_id: sensor.pws_alerts
|
||||
action:
|
||||
- service: script.wxalert_tile
|
||||
|
||||
alias: "Weather Watch Tornado"
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.pws_alerts
|
||||
above: 1
|
||||
condition:
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: '{{ states.sensor.pws_alerts.attributes.Description == "Tornado Watch" }}'
|
||||
- condition: template
|
||||
value_template: '{{ states.sensor.pws_alerts.attributes.Description_TOW == "Tornado Watch" }}'
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.tornado_watch
|
|
@ -81,3 +81,6 @@ jeff_traffic_alerts:
|
|||
jeff_traffic_alert_home:
|
||||
name: Jeff Traffic Alert Home
|
||||
icon: mdi:traffic-light
|
||||
tornado_watch:
|
||||
name: Tornado Watch
|
||||
icon: mdi:message-alert
|
Loading…
Reference in New Issue