I need help creating a routine script. I wrote something like the one
below, but unfortunately, it doesn't work correctly. The light turns on,
but it ignores the time condition. I want the light to turn on when I
return home, 7 days a week, but only ...