1) Give a description of the problem
I have a virtual switch that I’ve created to control the front yard lights. I have a simple IF/THEN/ELSE setup. IF switch changes to ‘ON’ THEN turn on lights (this works), ELSE turn ‘OFF’ lights. The else command is executing.
2) What is the expected behaviour?
Lights to turn off.
3) What is happening/not happening?
Lights not turning off.
**4) Post a Green Snapshot of the piston!
5) Attach logs after turning logging level to Full
10/27/2019, 8:07:13 AM +272ms
+1ms ╔Received event [Front Yard Lights].switch = off with a delay of 47ms
+59ms ║RunTime Analysis CS > 15ms > PS > 29ms > PE > 14ms > CE
+61ms ║Runtime (38754 bytes) successfully initialized in 29ms (v0.3.110.20191009) (59ms)
+62ms ║╔Execution stage started
+69ms ║║Comparison (enum) off changes_to (string) on = false (1ms)
+71ms ║║Cancelling condition #11’s schedules…
+71ms ║║Condition #11 evaluated false (5ms)
+73ms ║║Cancelling condition #1’s schedules…
+73ms ║║Condition group #1 evaluated false (state changed) (7ms)
+76ms ║║Cancelling statement #12’s schedules…
+83ms ║║Skipped execution of physical command [null].off([]) because it would make no change to the device. (3ms)
+84ms ║║Executed [Holiday Lights].off (5ms)
+96ms ║║Executed physical command [Front Porch].off() (9ms)
+97ms ║║Executed [Front Porch].off (11ms)
+107ms ║║Executed physical command [Left Front Sconce].off() (7ms)
+108ms ║║Executed [Left Front Sconce].off (9ms)
+119ms ║║Executed physical command [Right Front Sconce].off() (8ms)
+120ms ║║Executed [Right Front Sconce].off (10ms)
+122ms ║╚Execution stage complete. (60ms)
+124ms ╚Event processed successfully (123ms)