Hello and thank you in advance for any advice.
I have two rules that are conflicting and I'm struggling to determine how to fix. First I have a rule to lock the front door when the sensor is closed. I added a presence sensor and I want it to unlock the door when I get home. The problem is that there isn't an option for a state change e.g. going from not present to present. I originally I had it setup for when I'm present it unlocks the door. The problem is that when I leave and close the door and it locks but the system can still see me and it unlocks. Likewise, anytime I am home it keeps the door unlocked.
The way I envision this working is that the only time the unlock kicks off is when I pull up to the house and once I'm home it waits until I'm gone X number of minutes before it gets ready to unlock the door once again.
I hope that this made sense