Cant group media players

Hi -

I have a Sonos and a Chromecast and they will not get grouped under my “rooms” groups. My config looks like this

Everything is grouped perfectly except the media players. Is there something special that needs to be done in the config to enable this ? The config docs are really sparse.

media_player:

  • platform: sonos
  • platform: cast

then a section for the groups

group:
default_view:
view: yes
entities:
- group.den
- group.family_room
- group.sitting_room
den:
name: Den
entities:
- light.ge_12724_3way_dimmer_switch_level_3_0
- media_player.den
- media_player.chromecast2565
sitting_room:
name: Sitting Room
entities:
- light.ge_12724_3way_dimmer_switch_level_2_0
family_room:
name: Family Rooom
entities:
- media_player.family_room
- switch.leviton_unknown_type1805_id0334_switch_4_0

Do you mean like on one card? I always thought the media players created their own card and couldn’t be nested, much like the cameras.

Oh is that true ? That would explain it if so. I didnt see anything in the docs that said that. So there is no way to bury the media players in a group? They are big and noisy on my dashboard.

I guess only other option is a second view ?

That’s what I did. Media Room view has all players as well as my Harmony Hub integration and Plex Sensor.

You can hide them in customization section and try to combine two players in one using Universal media player.
Example:

media_player:
  platform: universal
  name: Test Universal
  children:
    - media_player.living_room_cast
    - media_player.living_room_kodi
  commands:
    turn_on:
      service: switch.turn_on
      data:
        entity_id: switch.living_room_tv
    turn_off:
      service: switch.turn_off
      data:
        entity_id: switch.living_room_tv
    volume_up:
      service: switch.turn_on
      data:
        entity_id: switch.living_room_volume_up
    volume_down:
      service: switch.turn_on
      data:
        entity_id: switch.living_room_volume_down
    volume_mute:
      service: switch.turn_on
      data:
        entity_id: switch.living_room_mute
  attributes:
    state: switch.living_room_tv
    is_volume_muted: switch.living_room_mute
3 Likes

Does your separate view for the media players tile across into a grid?

I have 4 sonos devices plus a Roku, and they only run in a single column, down the middle of the page. I have tried both grouping and individual entities on that view, but no change.

No, they do a column. I think this is more Jekyll’s handling of media windows than HA though.

Yesterday i tried to move a media player in to a card.
No luck here.
I googled and found this.

To me, it looks like there are “small” media players in different cards.

This is an old version of HA. I can tell by the state timers on the cards/

Yes i know. I still miss those timers.
But why remove the ability to move a media player in to a card like that?
It looks good. It lets us use the screen in a better way.

That may have been in polymer rather than something that changed in HA code though.

(The timers are HA code and I wish it were an option still.)