This doesn’t seem to work anymore, even though the documentation says entity_id is an optional argument. I have added all my sonos speakers under the entity_id option which does work, but it will require updating when new speakers are added. Have others had the same experience?
I think I am missing how and where to insert this code and how to use it.
I opened scripts and added a script called Join Sonos as such
sonos_group_all_speakers:
alias: Sonos Group All Speakers
sequence:
- service: sonos.join
data:
master: media_player.lounge
entity_id: all
mode: single
On trying to save this I get a
“Message malformed: extra keys not allowed @ data[‘sonos_group_all_speakers’]”
error…
Can someone point me at an intro to use scripts with sonos speakers.