Multiple Triggers: Lock the Door Only When Closed
I would like to update my auto lock program such that it locks only if the door is closed. Since the door is on a sensor it should know the door is open or not closed. I was looking for a way to:
1) Lock door after 5 minutes
2) If door is not open and lock is unlocked
Thought I had it because you can program the door to lock after 5 minutes if the door is not opened, but it doesn't seem to have a trigger event to run the program (e.g. door unlock).
Any thoughts or ideas?