Automation to send notification every 5 minutes for 1 hour

Hi at all!
This is my scenario:
i’ve a simple switch to turn on/off a light.
I wrote an automation to send a persistent notification when the light is on. all is working well…

But i need to send this notification every 5 minutes in the next 60 minutes (every 5 minutes for 1 hour)
starting fromm the first notification; and then stop for 30 minutes. if the light - after 30 minutes - is still on the automation restart.

Someone could point me to the right direction?

Thanks a lot.

Take look at this - might be what you’re looking for:

thanks a lot man!
i tested the component and it seems to work well.

Thanks a lot.

1 Like