nws_alerts icon indicating copy to clipboard operation
nws_alerts copied to clipboard

Extract additional properties from alerts

Open EvanMulawski opened this issue 6 months ago • 0 comments

Store VTEC, SAMEEventCode, and NWSEventCode. This provides more information to enhance and simplify automations.


For example, to handle the initial issuance of a Tornado Warning, instead of using 'Tornado Warning' in Event (or 'tornado warning' in (Event | lower) if you are paranoid about case-sensitive string comparisons like I am) and checking Type == 'Alert' to exclude updates, the SAMEEventCode field can be used:

SAMEEventCode == 'TOR'


The VTEC field provides even more information when parsed which can also be useful for automations, especially the action group.

EvanMulawski avatar Jun 25 '25 22:06 EvanMulawski