Today I was trying to set up the alarm from the home assistant. I was able to play the alarm sound which was stored in my local folder, but for one or another reason i am not able to play the alarm sound in a repeat mode until the alarm is disarmed. Does anyone see what is wrong with the underlying code:
Thank you but still no luck. I can play the file via call service, but one I add repeat (independent of whether it is for the alarm being disarmed or just a count (like 100 times) it does not work.
Thanks again for the fast response. I will try that.
Might have something to do with the setup of my HA. I run the HA in a container via docker. The host is a mac book air (i guess from around 2015) with ubuntu installed on it. When I activate the automation, this happens:
I ended up creating a new alarm sound file with all the previous alarm sounded pasted after each other. Now the file is 30 minutes long. That should in principle suffice for my police-loving neighbors to inform the police if something would be wrong. I also created a second automation to end the alarm if it would be playing at the moment the alarm is disarmed. My cpu is now at normal levels.
Thanks anyway for the help. Guess the repeat function will reveal itself another time