I created an automation that turns on the light bulb at sunset, when I'm
away from home, for 30 minutes, and then turns off the light bulb for 60
minutes, and then turns on the light bulb for 30 minutes and so on. The
problem is that when I arrive at...