Adding Delay to Condition

Hi, is there a way to add a delay before conditions are checked in an automation?

One of my conditions for arming Simplisafe is checking whether my phone’s wifi and my wife’s wifi is connected to the router. However, I need it to check a minute or two later rather than instantly after the trigger.

Hello Matthew Lawson ,

Use a state trigger and use the for: key to make sure the trigger has been there for the time period you require.

The conditions are checked immediately after the trigger is released from the trigger code logic.

Another way would be to so it in the action, use a delay, then a choose statement and use the condition there to sort it out.

No, you can’t add a delay before automation conditions are checked. But you can add conditions as part of the actions block, and precede those with a delay. But there surely are better/more reliable ways to accomplish whatever you are after…

Thank you.

Can you describe the delay and choose action thought process a little farther?

Trigger: Same a you have now, whatever that is…

Condition: empty

Actions:
First action is a delay for

2nd action a choose statement. The condition of the choose statement

and action of that

To update everyone, the delay and choose work but it seems my router disconnects for a few seconds from the Wi-Fi devices every once in awhile. I need to find some other more reliable options to include in the action area. My wife is slow updating its zone status through home assistant or I would use that.