So I'm trying to figure a way to tell the almond to turn on our outside lights when it is dark but not the whole night.
I live far north, so the time that the sun rises and set varies greatly over the year.
For example in June it rises as early as 03:31, and sets at 22:06. And in December it does not rise until 8:44 and sets already at 14:45.
Basically I would like to set a rule that turns on the light at 06:00 but only if the sun has not risen. And turn off the light when the sun rises or at 08:00 whichever comes first.
The last part I can make with two separate rules, one that turns off when the sun rises, and one at 08:00, but i'm unsure how to do the first.