1) Give a description of the problem
At the end of the Piston, when the garage door closes, the mode is to return back to HEAT. It does return, but then immediately after the mode if changed back to OFF.
2) What is the expected behaviour?
The garage heater mode should be OFF when the Garage Door(s) are OPEN and HEAT when all Garage Door(s) are closed.
3) What is happening/not happening?
The mode if changed to OFF after it is changed to HEAT.
**4) Post a Green Snapshot of the piston!
5) Attach logs after turning logging level to Full
5/11/2020, 12:52:06 PM +972ms
+2ms ╔Received event [Garage Thermostat].thermostatMode = off with a delay of 76ms
+9309ms ║RunTime Analysis CS > 19ms > PS > 9266ms > PE > 24ms > CE
+9310ms ║Piston waited at a semaphore for 9262ms
+9312ms ║Runtime (40670 bytes) successfully initialized in 9266ms (v0.3.110.20191009) (9310ms)
+9313ms ║╔Execution stage started
+9320ms ║║Comparison (enum) off is (string) heat = false (1ms)
+9321ms ║║Cancelling condition #4's schedules...
+9322ms ║║Condition #4 evaluated false (5ms)
+9323ms ║║Cancelling condition #1's schedules...
+9324ms ║║Condition group #1 evaluated false (state changed) (8ms)
+9336ms ║║Condition #14 evaluated false (9ms)
+9336ms ║║Condition group #13 evaluated false (state did not change) (10ms)
+9338ms ║╚Execution stage complete. (25ms)
+9339ms ╚Event processed successfully (9339ms)
5/11/2020, 12:52:05 PM +994ms
+1ms ╔Received event [Garage Thermostat].thermostatMode = heat with a delay of 49ms
+46ms ║RunTime Analysis CS > 18ms > PS > 5ms > PE > 23ms > CE
+48ms ║Runtime (40595 bytes) successfully initialized in 5ms (v0.3.110.20191009) (46ms)
+49ms ║╔Execution stage started
+56ms ║║Comparison (enum) heat is (string) heat = true (1ms)
+57ms ║║Cancelling condition #4's schedules...
+58ms ║║Condition #4 evaluated true (5ms)
+71ms ║║Comparison (enum) opening is (string) opening = true (2ms)
+72ms ║║Condition #6 evaluated true (13ms)
+74ms ║║Condition group #7 evaluated true (state did not change) (1ms)
+75ms ║║Condition group #5 evaluated true (state did not change) (15ms)
+76ms ║║Cancelling condition #1's schedules...
+76ms ║║Condition group #1 evaluated true (state changed) (24ms)
+78ms ║║Cancelling statement #9's schedules...
+1134ms ║║Executed physical command [Garage Thermostat].off() (1052ms)
+1135ms ║║Executed [Garage Thermostat].off (1054ms)
+1154ms ║║Executed virtual command [Garage Thermostat].sendPushNotification (16ms)
+1159ms ║║Executed virtual command [Garage Thermostat].setVariable (2ms)
+1169ms ║║Condition #14 evaluated false (7ms)
+1170ms ║║Condition group #13 evaluated false (state did not change) (8ms)
+1172ms ║╚Execution stage complete. (1124ms)
+1173ms ╚Event processed successfully (1173ms)
5/11/2020, 12:50:07 PM +199ms
+2ms ╔Received event [Two Car Garage Door Opener].door = closed with a delay of 80ms
+154ms ║RunTime Analysis CS > 121ms > PS > 9ms > PE > 24ms > CE
+156ms ║Runtime (40596 bytes) successfully initialized in 9ms (v0.3.110.20191009) (154ms)
+157ms ║╔Execution stage started
+168ms ║║Comparison (enum) off is (string) heat = false (1ms)
+170ms ║║Condition #4 evaluated false (8ms)
+170ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+180ms ║║Condition #14 evaluated false (6ms)
+180ms ║║Condition group #13 evaluated false (state did not change) (8ms)
+182ms ║╚Execution stage complete. (25ms)
+183ms ╚Event processed successfully (183ms)
5/11/2020, 12:46:29 PM +132ms
+1ms ╔Received event [Two Car Garage Door Opener].door = open with a delay of 55ms
+65ms ║RunTime Analysis CS > 34ms > PS > 8ms > PE > 23ms > CE
+68ms ║Runtime (40594 bytes) successfully initialized in 8ms (v0.3.110.20191009) (65ms)
+69ms ║╔Execution stage started
+80ms ║║Comparison (enum) off is (string) heat = false (2ms)
+81ms ║║Condition #4 evaluated false (8ms)
+82ms ║║Condition group #1 evaluated false (state did not change) (10ms)
+91ms ║║Condition #14 evaluated false (7ms)
+92ms ║║Condition group #13 evaluated false (state did not change) (8ms)
+94ms ║╚Execution stage complete. (26ms)
+95ms ╚Event processed successfully (95ms)