1) Give a description of the problem
Sometimes the piston will run even though locationmode is Home, I have tried using the locationmode variable as well as the virtual. Sometimes the piston seems to evaluate the restriction as true and I can understand why.
2) What is the expected behavior?
Piston should only be running then the locationmode = night
3) What is happening/not happening?
as above
**4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
+1ms ╔Received event [Home].test = 1512222564411 with a delay of 14ms +233ms ║RunTime Analysis CS > 23ms > PS > 47ms > PE > 162ms > CE +245ms ║Runtime (45586 bytes) successfully initialized in 47ms (v0.2.0ff.20171129) (243ms) +246ms ║╔Execution stage started +254ms ║║Comparison (string) Home is (string) Night = false (2ms) +256ms ║║Condition #65 evaluated false (5ms) +257ms ║║Condition group #null evaluated false (state did not change) (6ms) +257ms ║║Piston execution aborted due to restrictions in effect +263ms ║║Comparison (string) Home is (string) Night = false (1ms) +272ms ║║Comparison (enum) off is (string) off = true (1ms) +273ms ║║Cancelling condition #1's schedules... +384ms ║║Comparison (decimal) 92.8 is_greater_than_or_equal_to (integer) 2 = true (2ms) +392ms ║║Cancelling condition #1's schedules... +402ms ║║Comparison (enum) on is (string) off = false (2ms) +415ms ║║Comparison (enum) on is (string) off = false (2ms) +425ms ║╚Execution stage complete. (179ms) +441ms ╚Event processed successfully (440ms)