Openweather triggered

Hi

I would like to kindly ask somebody who can help me with this automation I want to open my outside curtains when there is defined time from 8-16 and open weather entity condition are sunny or partly cloudy . I wrote this automation but is not triggered and also no error in logs. Conditions are met .

I don’t think you can concatenate the states with comma that way. I would try:

    to:
      - "sunny"
      - "partlycloudy"

Hi that’s automation created by UI. When I change it to way you propose I get an error in config .

I didn’t know you can create a state trigger in the UI that allows you to pick two different states as to. I can only see a drop-down list where I can pick exactly one value.

The detailed syntax of how to and from can be configured is documented here: Automation Trigger - Home Assistant

Thanks that’s probably the problem

I will test it only with sunny and change also in automation yaml to put there two options.

1 Like