Basically for the conditional card you’d have something like this:
- type: conditional
conditions:
- entity: sensor.ec_warning
state: 'WIND WARNING , SPECIAL WEATHER STATEMENT ’
As you can see the sensor had not just a Wind Warning but also a Special Weather Statement, on Sunday there were 3 warnings for my area.
I think having 3 sensors might be the best way to handle this. Something like Statement, Watch, and Warning sensors. The question is do you just have these sensors be binary either on or off? Then let the user do what they will from there? or do you have the warning in the sensor similar to how it is now but broken out by the 3 categories?
Personally I like the idea of the sensors being just on or off but that being said I don’t see why I couldn’t create binary sensors have them trigger if one of the 3 is active to achieve my end goal.
Not sure how it would be done but maybe setting the sensors up to allow end users to have the alerts broadcasted on TTS. I don’t know if that means having the alert data in the sensor or something more complicated. Just trying to future think uses for this great tool.
Now if only Environment and Climate Change Canada had an api.