Card SpeakerGroup - dckiller51/astrion-custom-dashboard GitHub Wiki
🔊 Speaker Group Card (speaker_group)
Group speakers together and set each one's volume, Sonos-style. One row per speaker: tick it to join the group, untick to leave.
Works with any media_player that supports grouping in Home Assistant (media_player.join / unjoin): Sonos, and other multi-room integrations.
In the builder (since 1.2.9): pick the main speaker and the others from your devices, name and reorder them.
📸 Preview
✨ Features & Possibilities
- The master first, with a speaker icon. The others join its group.
- Tick a speaker: it joins the master right away (
media_player.join). Untick: it leaves (media_player.unjoin). No "apply" button. - Live membership: the ticks follow the real groups, even when you group from the Sonos app.
- Per speaker: volume in %, a volume bar to tap or drag, and mute / − / + buttons.
⚙️ Options Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
type |
string | — | speaker_group |
master |
string | — | The media_player the others join. Required. |
name |
string | friendly name | Name of the master. |
speakers |
list | — | The other speakers: { "entity_id", "name" }. |
📄 JSON Configuration Example
{
"type": "speaker_group",
"options": {
"master": "media_player.sonos_living_room",
"name": "Living room",
"speakers": [
{ "entity_id": "media_player.sonos_kitchen", "name": "Kitchen" },
{ "entity_id": "media_player.sonos_bedroom", "name": "Bedroom" },
{ "entity_id": "media_player.sonos_bathroom", "name": "Bathroom" }
]
}
}
💡 Put it under a full Media player of the master: what's playing on top, who's playing it below.
See also: Card Media player