Hey there,
i have had a rule like this
"when its after sunset and before sunrise then turn light on"
but it won’t work. also don’t work
"when its after 20:00 and before 06:00 then…"
If i set the rule to end today
"when its after sunset and before 23:59 then…"
it works fine. So something is wrong with a rule over midnight.
But i think i remember, that something like that works sometimes before.