Sadly my automation isn't working. What am I doing wrong?
I want to trigger my lights when the title of the RSS feed from the NWS with the Current alerts and warnings contains a certain word like: "Tornado Warning".
I'm doing this because I want the warnings from the whole US, not a certain area. Therefore I'm not using the NWS integration.
alias: Gale Warning Test
description: Gale Warning Test
triggers:
- trigger: template
value_template: >-
{{ 'gale warning' in
states('event.current_watches_warnings_and_advisories') }}
conditions: []
actions: - action: light.toggle
metadata: {}
data:
rgb_color:
- 0
- 110
- 255
brightness_pct: 100
target:
device_id: 1006672267b936cdde5ad6fb305eb23f
mode: single
Thanks for helping!