I would like to set up an automation where one of the triggers is the current state of the weather but I’m a complete noob. This is probably the most basic knowledge of coding which I don’t have I guess…
Here’s the config:
condition:
- condition: state
entity_id: weather.home
state: fog; hail; lightning; lightning-rainy; pouring; rainy; snowy; snowy-rainy
Is this how you say the state has to be either fog or hail or … … Or does the way I currently have it written say that the state has to be all of those attributes at the same time in order for the automation to start?
Thanks for any replies!