I would like to have an automation which will send an actionable notification on my android phone when I’m entering in a zone. When I’m clicking on the actionbutton of the notification, then turn on a switch (open the gate).
This is easy so far I did it and it is working well.
I would like to develop this further on the following way. When I’m entering in the zone after 10 second timeout if I’m not clicking on the notification a switch shall be turned on. If I’m clicking on the notification in 10s the switch shall not be switched on. Until now I did not found the solution how to make this branching.
The example in the Companion App docs shows how to use a Wait for Trigger with multiple triggers to perform branching logic using a Choose action.
If your goal is just to perform action on timeout but not if the button is pushed you do not need any branching actions like Choose or If/Then. Just use a template condition after the Wait for trigger action.