How Stop (off) - Google Cast manually

Dear Friends,

I have 20 google home devices at home as i use as siren alarm, everithing is working fine.

1 - I arm the alarm with the control panel alarm.
2 - my speaker group alarm say “Alarm activated”
3 - Alarm arm

¿What is the problem? , my speaker group keep casting “nothing” and no return to google home (nest nubs) screen, black screen showing (like casting)

what is the command to stop casting like i can do in the lovelace panel?

I need to do by coding like if I press the yellow rounded button.

2

It will stop automatically after a minute or two. Not sure how long it is.
But I assume media_player.turn_off (or what it’s called) is what you should do.

I waited, as you mentioned, and effectively after 2 minuts the nest hub sreens return to its home screen.
I gonna try to make some script with the comand media_player.alarm.turn_off.
Thanks a lot!

Were you able to get this working?

I would also like to know.