I have an automation that looks for a tag scan. I want to get a speaker announcement that the tag was scanned before I head out the garage door into the garage. I then want it to wait till I enter the garage and look for the presence sensor to show unoccupied before it executes my action. I created options that just executes the tts when it's scanned. However when I look for an unoccupied presence it's going to be true. If I put in a delay above options it won't execute the tts announcement giving me audible that scan was received. I also have options for when it's scanned and the house is in an armed or unarmed state what to do.
#Trigger an TTS Announcement before a condition
1 messages · Page 1 of 1 (latest)
So as part of one of my options I need to say if state of house is disarmed and then wait 3 to 5 seconds for me to open door to enter the garage and ensure presence has seen me. Then start waiting for the garage to be unoccupied to arm house .
you can use "wait for trigger" and have the trigger be "changes from occupied to clear"
so if its already clear it will need to switch to occupied and then back to clear to trigger and therefore continue
something like this
you can add a timeout to it too in case something goes wrong it can continue after 10 minutes or something
is that under condition
wait for trigger is an action
so you can:
trigger
do something
wait for a different trigger
do something else
e.g.
scan tag
send tts: tag scanned
wait for garage to go from occupied to clear
send tts: you have left the garage
or whatever you want to do
ok i think i got it.
you can put more or less stuff wherever you want in the chain but thats a simple example
just needed the hint there was a wait for action i was struggling with how to get around a delay
I wanted to hear the audible that it got my scan so couldn't put a delay in to wait for me to leave.
yeah, learning the building blocks can take some time. but you will get there