1) Give a description of the problem
I wrote a script that has some WHILE loops in it, but I don’t think I’m using them correctly. Ideally I’d like my lights to always come on in the evening, but then based on the while conditions, change colors for holidays. I looked at the Holiday Lights piston posted by another member here, but it looked a little too complex for my needs.
2) What is the expected behavior?
Every night, 15 mins to sunset, turn on a set of lights to a set color
~10 mins to sunset, change the colors based on dates (for holidays)
3) What is happening/not happening?
The WHILE loops don’t appear to be performing.
5) Attach any logs (From ST IDE and by turning logging level to Full)
~LOG COMING LATER~ although I think I just don’t understand how the while loops are supposed to trigger.