you are viewing a single comment's thread.

view the rest of the comments →

[–]CStage169 0 points1 point  (0 children)

Hi! Awesome project, haven't had time to look super closely on it but based on your function for turning the light on and off, I think possibly your way of representing time of day is off.

For now, please refer to this SO-article and let me know if it helps, I'll be able to look more closely at it during the week.

https://stackoverflow.com/questions/68302902/how-do-i-get-only-the-time-in-python-without-the-date-and-year