Location Mode triggers not working correctly


#1

1) Give a description of the problem
Location Mode triggers “changes to” and “changes away from” are not working. They get triggered by any location mode change, instead of the one(s) specified.

2) What is the expected behavior?
Piston should press virtual button only when the location mode changes to Home

3) What is happening/not happening?
Piston is pressing virtual button when location mode changes to Night

**4) Post a Green Snapshot of the piston!

**5) Attach any logs


#2

Your WITH command needs to be inside the IF command after THEN.
Your current code has no action when location changes…


#3

I feel like an idiot. Thanks.


#4

No problem at all. Glad to help!