How to make automation repeat every X until issue is satisfied

Hi. Ok, I am stuck.

I have an automation that, if a door lock is left unlocked for X minutes, then it sends a notification to my phone.

Is there a way to make this keep sending a notification to my phone every 60 seconds until the automation is no longer true?

Thank you!

Use this instead of an automation:

2 Likes

Hi Tom! Wow, thank you for this! That is a huge help for one of the things I was trying to get alerts on.

With another, I have the automation set to do a few things more than just the alert. Is there a way to have an entire automation repeat until the automation is no longer true, or repeat X times unless unless the automation is no longer true?

Thanks again

Sure, see: https://www.home-assistant.io/docs/scripts/#repeat-a-group-of-actions