I have been trying to make an automation to perform a task once a door is open . The trigger is The Door Sensor but I only want the Automation to Run, if someone has taged the NFC TAG.
I have tried to put both trigers, but once one of the trigers is triged, the automation goes. So doent work.
What i need is. if tag was tagged, prepare automation, and then run after the Sensor is open. Is this possible?
So the automation fires when you scan the tag.
Then it waits for you to open a door, and it waits until the end of time (or until you restart Home Assistant).
When you specify a timeout, the wait will, well, time out after the specified amount of time.
Think of it like this: Wait for a door to open, but if that doesn't happen after 5 minutes, stop.
You can also enable “continue on timeout” (should be left off in this case).
This will change the wait to Wait for a door to open, but if that doesn't happen within 5 minutes, continue executing the automation.