Sunrise/Sunset Rule

Hi there,

I don’t know if that solves your problem, but I’m using very successfully the time of day pattern