N_O
February 15, 2023, 9:31am
1
Hey guys,
i have 5 Sonos/Symfonisk Speakers and I am using the custom:mini_media-player card. I have the issue that i cant group and ungroup two of them. I always get the notification “Failed to call service media_player/join. required key not provided @ data[‘group_members’]” in the bottom left corner.
Also there is a difference between the two not working and the three working media player cards. As you can see for the media player “bad” there is not the word master in the list:
Any ideas what is the reason for this?
best regards!
Enno
nickrout
(Nick Rout)
February 15, 2023, 9:44am
2
Hard to say without the card’s yaml.
N_O
February 15, 2023, 9:54am
3
Sorry, my bad!
type: vertical-stack
cards:
- artwork: cover
entity: media_player.wohnzimmer
hide:
power: true
idle_view:
when_idle: true
when_paused: true
when_standby: true
speaker_group:
entities:
- entity_id: media_player.kuche
name: Küche
- entity_id: media_player.schlafzimmer
name: Schlafzimmer
- entity_id: media_player.wohnzimmer
name: Wohnzimmer
- entity: media_player.bad
name: Bad
- entity: media_player.sonos_roam
name: Arbeitszimmer
show_group_count: true
type: custom:mini-media-player
- artwork: cover
entity: media_player.kuche
hide:
power: true
idle_view:
when_idle: true
when_paused: true
when_standby: true
speaker_group:
entities:
- entity_id: media_player.kuche
name: Küche
- entity_id: media_player.schlafzimmer
name: Schlafzimmer
- entity_id: media_player.wohnzimmer
name: Wohnzimmer
- entity: media_player.bad
name: Bad
- entity: media_player.sonos_roam
name: Arbeitszimmer
show_group_count: true
type: custom:mini-media-player
- artwork: cover
entity: media_player.bad
hide:
power: true
idle_view:
when_idle: true
when_paused: true
when_standby: true
speaker_group:
entities:
- entity_id: media_player.kuche
name: Küche
- entity_id: media_player.schlafzimmer
name: Schlafzimmer
- entity_id: media_player.wohnzimmer
name: Wohnzimmer
- entity: media_player.bad
name: Bad
- entity: media_player.sonos_roam
name: Arbeitszimmer
show_group_count: true
type: custom:mini-media-player
- artwork: cover
entity: media_player.sonos_roam
hide:
power: true
idle_view:
when_idle: true
when_paused: true
when_standby: true
speaker_group:
entities:
- entity_id: media_player.kuche
name: Küche
- entity_id: media_player.schlafzimmer
name: Schlafzimmer
- entity_id: media_player.wohnzimmer
name: Wohnzimmer
- entity: media_player.bad
name: Bad
- entity: media_player.sonos_roam
name: Arbeitszimmer
show_group_count: true
type: custom:mini-media-player
- artwork: cover
entity: media_player.schlafzimmer
hide:
power: true
idle_view:
when_idle: true
when_paused: true
when_standby: true
speaker_group:
entities:
- entity_id: media_player.kuche
name: Küche
- entity_id: media_player.schlafzimmer
name: Schlafzimmer
- entity_id: media_player.wohnzimmer
name: Wohnzimmer
- entity: media_player.bad
name: Bad
- entity: media_player.sonos_roam
name: Arbeitszimmer
show_group_count: true
type: custom:mini-media-player
N_O
February 15, 2023, 11:00am
4
Grouping and Ungrouping via Service Calls is no problem btw.
Grumblezz
(Sander)
February 16, 2023, 7:56am
5
Maybe this one can help you:
So nice! I was looking for something like this for so long !! But what I didn’t liked about it was the hardcoded speaker_group entities.
‘speaker_group’: {‘platform’: ‘sonos’,‘show_group_count’: true,‘entities’: [
{‘entity_id’: ‘media_player.ralf’,‘name’: ‘Ralf’},
{‘entity_id’: ‘media_player.bad’,‘name’: ‘Bad’},
{“entity_id”: “media_player.kuche”,“name”: “Küche”},
{“entity_id”: “media_player.wohnzimmer”,“name”: “Wohnzimmer”},
{“entity_id”: “media_player.eltern”,“name”: “El…
Could it be that the indent of show_group_count
is wrong.
Should be on the same level as the entities
N_O
February 18, 2023, 9:09am
7
Sorry, I dont understand what you mean. What do I have to do?
There was a wrong indent of show_group_count: true