An automation with two triggers / But I don't want it to trigger twice in X minutes

I’m still kind of getting my legs on all of this, and apoligies if I am not asking the question correctly and it’s been answered before.

But I have a trigger that runs when “James” gets home / I had another trigger for when “wife” gets home. (And now I have one trigger that has both “James” and “Wife”

My issue is when we both get home at the same time. Part of the trigger is to unlock the door. It works as expected, and then we enter the house and I guess it sees the other phone has also arrived and retriggers unlocking the door a second time. (the lights are already on / so they can’t turn on again and that’s fine…) How would I prevent this from triggering twice even though both phones arrive home? Is there a way to say if you run this automation, it can’t be run again for X minutes. But not have it then say oh in that time the condition was met again and just unlock a second time X minutes later?

TIA

You can use a run mode set to single with a delay in the end.

1 Like

Also if you’re doing home/away instead of marshaling triggers. Use the numeric state of zone home. It has the count of person objects with trackers in the area.

0==vacant.

2 Likes

Put a delay as the final action in your automation for however long you don’t want the automation to re-trigger for and set the automatino run mode to single (if it isn’t already)

edit: Wally beat me to it… I didn’t read his post. :man_facepalming:

1 Like

Awsome … Thank you all… Time to go play!