RM Example: Using Private Boolean to disable Motion Off

Hi everyone

I have just posted a request for help regarding Private Booleans here

Can anyone here help to differentiate physical and programmatic switch activity at the rule level?