First time smart home hobbyist here trying to understand the rule machine. This is my first rule ever.. so be patient.
My objective is:
Trigger: When the door is unlocked or if the door sensor is open
A. If the door is unlock and the door sensor is closed > lock the front door in 5 mins
B. If the door is locked and the door sensor is closed > do not do anything.
With the current setting, if I were to unlock the door, open it, check the mail then close it and lock it, the rule will still try to lock it and not exit.
Can you show me how to properly execute my objective?