All my media players (sonos, chromecase, kodi etc) appear as separate cards.
I saw this screenshot where media player appears to be “flattened” into a group card with other entites such as lights:
Please can anyone advise what the config should look like for this?
I feel it makes for a nicer main page…
Yes, same for me, too.
Adding a media player entity to a group does not lead to the screen displayed above.
the media players are all still in separate cards.
Here is a screenshot (from web) - you can see cards for living room and bedroom with some light switches, and then separate cards for media players in those rooms (groups):
group:
livingroom:
name: Living Room
entities:
- light.livingroomlight
- media_player.livingroom
I know that including media player in a group card is possible as I see further evidence:
in google image search:
and in HASS documentation - which, despite showing this screenshot does not give an example config to generate it - none of the sample configs in the group docs linked show media player.
I wonder if this feature was deprecated and the docs were not updated?
Thanks for your quick response confirming my suspicion about this being a deprecated feature.
Seems like a few other people feel same as I - that this can help streamline a busy UI and to show how a media_player is part of a group.
Is there the possibility to add it back as an option? Maybe via a flag against the entity in customization?
That would be fab.
BTW no criticism implied or intended. HASS is awesome
I hate extra options, it makes all future development slower as we always have to test with all different features enabled/disabled etc. So don’t expect this to be added back to our official UI.
I’m with stewface on this. I have a lot of media players in my house. Multiple sonos (which are a big grey empty card when paused), multiple chromecasts, plex, kodi etc with no way to see the grouping except by name on the main view.
Same here I got about 15 media players and although it looks pretty cool that you can see what is playing on all the various chromecasts it doesn’t add an automation purpose.
I now have them all in a separate tab / page so it doesn’t take the space from the stuff I like to see. However if I want to see it it is more than fits on a page and not relevant info in most cases.
So an option to show as one line and the rest if you click on the line is preferred in my case…
and then add these custom sensors to a group. Then a group of groups to compact it to look more similar to the screenshots, maybe? Haven’t tested it but I think it should work.
Still not as pretty as the older screenshots but might give you what you want.
Flattening makes total sense, particularly for Sonos players which themselves can be dynamically grouped. Our players are almost exclusively always playing the same thing and so are in effect already a single player.
A small compromise would be to make the current media player window collapsible, say where it would close the album cover art. That would somewhat address the real estate issue.
I think that the mediaplayer is good looking but i agree, it takes up too much space. And i really want to att some of my mediaplayers to different cards together with other switches or input selects as i use for webradio.
EDIT. No need this change the way it looks today but add options and ability to move into cards.
custom_ui does give some flexibility in terms what what exactly we want to see on the UI.
While waiting for zone2 support for media_player, i have the below DIY card for my basic usage.