Entryway Light with Door Sensor


#1

I have been banging my head against the wall trying to figure out why this piston will not turn the light off 1 minute after the door sensor is triggered. One thing to mention is that the “Keypad 3” switch is a Homeseer hs-wd200+ switch. I had a piston like this before with just a normal smart switch and I believe it worked just fine.

Any help would be greatly appreciated!


#2

I don’t know why it does not work but I can just recommend a change - if that serves your purpose…

Change “contact is open” to “contact changes to open”
And get rid of the else part and test…

Just a thought.