1) Give a description of the problem
I have a simple piston that turns 2 sets of outside lights on at sunset and then off at midnight. This morning when I got up, one of the 2 sets was still on. When I got home tonight, the other set didn’t come on.
2) What is the expected behavior?
Both switches should turn on and off together
3) What is happening/not happening?
Only 1 light is turning on or off (different each time)
**4) Post a Green Snapshot of the piston![image|45x37]
execute
if Time is between {$sunset} and 12:00:00 AM then
with Front Door Lights and Garage Door Lights do
Set level to 100%;
else
withFront Door Lights and Garage Door Lightsdo
Turn off;
end with;
end if;
end execute;
5) Attach any logs (From ST IDE and by turning logging level to Full)