I have installed the NWS Alerts Component and am wondering how to trigger an automation with it. Currently my sensor.nws_alerts has a state of 1 with an attribute of a Flash Flood Watch (which is in fact in effect right now). Do you know if there are different numbers that represent different attributes? Maybe 2= tornado warning etc. If the number is just 1 when there is an alert and 0 when there isn’t how would I go about creating a trigger for a specific alert?
Thank you. I keep getting an error regarding the feedparser. I finally realized I needed to install that custom component too so I think I finally got it working. At least the announcement part works. In my automations I only added the “NWS Announce Weather Alert for MBR” with the understanding that it would trigger only if the word Tornado is in the alert as that is the only one I’m interested in… Am I correct in that assumption?
It has to see the word “tornado” & “warning” at the same time. It will then announce.
If you remove the feedparser portion in the sensor section then you don’t need the feedparser custom component installed for the rest to work. that was just one more thing I added so I had a backup sensor while I was testing things out.