**1) I’ve been trying to use the “Stays away” trigger with a motion detector. This issue also occurs with “Stays On”
**2) I expect the piston to run from top to bottom when the trigger occurs.
**3) It seems to start where ever the condition is and run until the end of the piston.
You will notice on the screenshot how the trace only begins at line 60 and not running the lines preceding. This IF statement was only added to aid debugging. On a run not started by this trigger the piston runs end to end.
What is the expected behaviour?