Problem Sonos Group/Ungroup custom:mini_media-player

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.
Screenshot error grouping

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

Hard to say without the card’s yaml.

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

Grouping and Ungrouping via Service Calls is no problem btw.

Maybe this one can help you:

Could it be that the indent of show_group_count is wrong.
Should be on the same level as the entities

Sorry, I dont understand what you mean. What do I have to do?

There was a wrong indent of show_group_count: true