the ‘run’ and ‘run actions’ items do not appear to do anything. i am sure the output is in some screen i have not stumbled across yet, and googling with those common words is unhelpful.
Let me summarize the logic in the automation currently:
Trigger at 1:00am and again at 5:00am every day.
Check if the numeric month is greater or equal to 4, or less than or equal to 10. The result will always be true because every real number meets one of those two conditions.
Turn on the switch only if it is between 8:00pm-8:59pm, which it will not be. So instead, turn off the switch.
You should be able to look at the traces of the automation to confirm this is what is happening. Click the 3 dots to the right of the automation and select “traces”.
I think @Hellis81 is correct: currently it will only trigger at 1am (01:00) and 5am (05:00), but then it will only turn on at 8pm (20:00). Since it never triggers at 8pm, it will never turn on. The traces should show it only does “off” each time.
-David
i tried changing the 20 thinking that it was a time reference but got an error when saving…
apparently YAML wants time as ‘1’ in this location not ‘01’
The time on the screenshot indicates that you are running the automation by forcing it to run.
This automation will not work that way. It should only run by itself.