Rudd-O / homeassistant-meteoswiss

:sun_behind_rain_cloud: :switzerland: Meteo Swiss Integration for Home Assistant (forked from websylv)
74 stars 8 forks source link

list of available weather conditions? #43

Open schneich opened 2 months ago

schneich commented 2 months ago

Hi,

when I use this {{ states('weather.winterthur') }}, I get cloudy as a response. I would like to build an emergency automation to open all window shutters, if weather changes to some conditions, such as stormy, windy, raining, ...

Is there a list available of all possible states of this sensor, so that I could choose some of them?

Thank you, Chris

dgalli1 commented 1 week ago

https://github.com/Rudd-O/homeassistant-meteoswiss/blob/adca884270b61055a0413e5bcb6a139c7539750c/custom_components/meteoswiss/const.py#L35

schneich commented 1 week ago

Hi @dgalli1,

thank you very much. This helps very much!

Allow me a follow-up question: some of the weather conditions in the code do not have an ID. Does this mean, they will not come up at all? I am mostly interested in "hail" or "exceptional".

Thank you, Chris