Zend certified PHP/Magento developer

How to create Alexa behavior on Echo Dot that is an alarm sound (or text-to-speech) that continues until dismissed

I bought a YoLink water sensor (leak detector).

By following these steps, I was able to link it to my Alexa app and Echo Dot. Now, when water touches the sensor, Alexa sends a notification to my phone and speaks through the Echo Dot “Leak detected.”

This behavior achieves the goal if I either am within earshot of the Echo Dot or have my phone with me and online and I’m paying attention to it.

However, imagine that a friend of mine (whose phone isn’t connected to my Alexa and wouldn’t receive the notifications) is in the house, and I’m out somewhere else with my phone turned off. And the friend doesn’t hear the brief notice from the Echo Dot.

I want Alexa to continuously alert the inhabitants about the leak until someone dismisses the alert.

How can I create that behavior?

key words: loop, loops, looping, skill