1) Give a description of the problem
I am unclear on how to set a time when I want this piston to turn on a light bulb. On “What kind of Comparison” I don’t see a a option for “Is” so I can define a specific time.
2) What is the expected behavior?
From Monday - Thursday, I want the HUE light bulb in my daughters room to turn on at 6:10AM, color light blue, and power level at 4%. I have a single switch that powers the fan/light. The piston should check if the light switch is on and if it is on then it should turn on the bulb at that time, if it is off then it should turn the switch on and turn the light bulb on, set colors/power. Then turn off after 30 minutes.
3) What is happening/not happening?
I need help setting the time to test this piston. I think the code is right, but any advice is greatly appreciated to make this code more streamlined.