I have some motorized z-wave skylights (Fakro brand) and would like to either provide a Pushover alert and/or automatically close them when there is precipitation (I'm thinking mainly of rain or snow, but anything like sleet or drizzle or hail or graupel, etc would also qualify).
Is there some simple test I can do using my local weather object to alert when there is precipitation of any kind? Or do I have to parse the "current conditions" variable and match against states that have precipitation? Are the possible values for this state documented? Any other tips/tricks? Plugins?