1) Give a description of the problem
Switch 2, 4, and 5 continue to operate randomly after 11:46pm.
2) What is the expected behavior?
I have tried to design this piston such that switches 2, 4, and 5 turn off at 11:46pm even though my SmartThings hub remains in “away” mode constantly while I am on vacation for days at a time.
3) What is happening/not happening?
-Switch 1 operates properly–it turns on at sunset every day and turns off at 11:31pm every day while the SmartThings hub remains in away mode for days at a time while I am on vacation
-Switches 2, 4, and 5 are not operating properly–they are supposed to start turning on randomly at sunset and then all turn off at 11:46pm every day while the SmartThings hub remains in away mode for days at a time while I am on vacation. Currently, they do turn on at sunset everyday while in away mode but then they keep turning on and off randomly way past 11:46pm–this is not the desired behavior as described.
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach any logs (From ST IDE and by turning logging level to Full)
I will see if I can post some logs later as I don't have any yet but perhaps someone will see my mistake/help me without the logs?
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.





. Your explanation makes perfect sense as you can see from the accompanying log below–just as you stated, the piston executed any previously processed events before the “kill time” of 11:46pm: once these previously processed events were complete there was no more activity for the rest of the night despite my SmartThings hub remaining in away mode. Thanks again–I would have NEVER been able to divine that critical “cancel all pending tasks” code without your help.