1) Give a description of the problem
I have a piston that updates 2 global variables when the Location Mode changes, but it is not updating the variables
2) What is the expected behavior?
I expect ‘@lastMode’ to be updated with the previous mode, and ‘@newMode’ to be updated with the new mode change.
3) What is happening/not happening?
One or both of the variables do not appear to be updating.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)