Thank you very much!
I would probably create an input_select with an entry for each of your Sonos speakers, then use it in the UI in combination with the lovelace template card to conditionally render a mini-media-player card of the selected Sonos speaker.
You could then easily switch between your Sonos speakers and leave → recreate the Sonos group with the desired master.
A better but probably more advanced solution would be to use a similar input_select but have a script fired when an item (a new master) is selected, the script calls media_player.sonos_join with the entity_id
parameter as the current value of the sonos_group
attribute and the master
parameter as the selected item (Sonos).
Could also skip the input_select and achieve the same thing through this cards shortcut option, but would probably need to create a script for each Sonos…
Yes, I’ve addressed some of the things you brought up earlier.
The underline of the shortcut list dropdown is gone, there’s a new label option for the list dropdown, the default label was changed to “Shortcuts…” and shortcut support for sound_mode of course.
I couldn’t figure out an appropriate name for this option, soooo…it’s simply called attribute
right now and goes inside the shortcut
option object. Do you have a better name for it?
Thanks.