#Sun controlled automation with pause
1 messages · Page 1 of 1 (latest)
So... Pausing the sun is not a task I recommend trying. 🌇
Seriously there is a sun integration you can use as a 'when' trigger or an 'and if' condition.
https://www.home-assistant.io/integrations/sun/
use the sun as a trigger
Just literally choose sun as your trigger type
with a off period in the middle of the night
Add a condition in the And If section to check that the time at triggering is not within this off period.
Though if you are only triggering on the Sun state, I don't think you will ever trigger during your off period. Are you triggering on something else (eg. Motion) and then checking the Sun state as a condition?
No only sun as trigger.
I want them to light up when the sun goes down -> 1AM OFF -> then if the sun is not up 5AM ON -> OFF when the sun comes up.
i am trying to do this and using two different groups of lights so that my house is not all lit up during the middle of the night
going to try the "if" statement and make a helper for 1-5AM