I am trying to set an automation to work between 10PM and Sunrise. I can see the option to select the starting and ending time but can one set between Sunrise/Sunset and an hour?
You nred at least two conditions;
WHEN ā¦
AND After 10PM
OR Before Sunrise
THEN ā¦
Both check against a day so that should work
You could create two flows:
When āThe time isā 10pm
Start doing what you want
When āThe sun rises inā 0 minutes
Stop doing what you started
So, for example, you could turn a light on at 10pm and turn it off at sunrise.
I would put both in an advanced flow to make it easier to see whatās happening.
Andy
Thanks for the replies. What I am trying to set is the following:
If Zone becomes active and time is between Sunrise and 10:30 PM then turn on the lights
After 10Pm is true between 22:00 and 24:00
Before sunrise is true between 0:00 and sunrise
So between 10Pm and sunrise one of the two conditions has to be true.
After sunrise is true between sunrise and 24:00
Before 10:30 PM is true between 0:00 and 22:30
So between sunrise and 10:30PM both conditions have to be true.
Edit at 22:55 corrected flow and replaced screenprint after remark Dijker
First Flow u use
- Later than 22u00 OR Before SunSet (in the screenshot) and write about Sunriseā¦
Question was:
so not quite the question⦠confusing,