1) Give a description of the problem
The piston has a Switch statement based on mode: Home, Away, Asleep. I made a minor change a couple days ago and it stopoped working. It fires, but none of the switch cases gets executed.
I didn’t have the task cancellation policy on each statement before. I added them hoping it would help but it still doesn’t work.
2) What is the expected behaviour?
Should execute case based on current mode. Very basic actions like turn off camera and set thermostat mode.
3) What is happening/not happening?
Piston fires but none of the statements are executed.
**4) Post a Green Snapshot of the piston![image|45x37](
5) Attach logs after turning logging level to Full
9/23/2019, 6:14:59 AM +550ms
+1ms ╔Received event [Home].mode = Home with a delay of 98ms
+103ms ║RunTime Analysis CS > 25ms > PS > 46ms > PE > 32ms > CE
+106ms ║Runtime (44087 bytes) successfully initialized in 46ms (v0.3.10f.20190822) (105ms)
+107ms ║╔Execution stage started
+112ms ║║Comparison (string) :51e7a3cde8060d92958feb7dd4bf4114: changes = false (1ms)
+113ms ║║Cancelling condition #76’s schedules…
+114ms ║║Condition #76 evaluated false (3ms)
+115ms ║║Cancelling condition #75’s schedules…
+116ms ║║Condition group #75 evaluated false (state changed) (6ms)
+118ms ║╚Execution stage complete. (11ms)
+119ms ╚Event processed successfully (118ms)