Dashboard: Sonos card

If not you can specify locally stored artwork.

Iā€™ll look into it: Media browser as a list instead of in grid mode Ā· Issue #70 Ā· johanfrick/custom-sonos-card Ā· GitHub

1 Like

That would solve my problem with SiriusXM not showing artworkā€¦ I can just make a listā€¦ AND I can put more favorites in it!!! Great idea!

For the home theater Arc speaker does anyone know how to add the TV input to favorites? It does not allow this in the Sonos app. Or has anyone found another way around this?

As an aside it is interesting that it does allow the speakers with a line in to be added to favorites but not the Arc/Beam input.

1 Like

How do you use local artwork? Iā€™ll still probably use a list because its easier on a small screen, but definitely curious.

I tested this card against 2022.6B specifically because of the breaking change for sonos grouping and ungrouping and the card still works. Iā€™m not sure if itā€™s because it was written to handle this anyway so the breakage didnā€™t impact us but I did want you to know that I specifically looked to validate this change and I canā€™t find any issues.

2 Likes

OK, perhaps I was misinterpreting what I was seeing but now Iā€™m starting to get warnings in the logs and I know these join/unjoin requests are ones I initiated from the card (Iā€™ve already overhauled all my automation joins). I think this is a harbinger of things to come:

Logger: homeassistant.components.sonos.media_player
Source: components/sonos/media_player.py:142
Integration: Sonos (documentation, issues)
First occurred: 7:41:19 PM (3 occurrences)
Last logged: 8:08:50 PM

Service ā€˜sonos.unjoinā€™ is deprecated and will be removed in 2022.8, please use ā€˜media_player.unjoinā€™

Looks like theyā€™re giving us till Aug relase to get it updated.

Thanks for finding this! Should be fixed here: Release v5.2.0 Ā· johanfrick/custom-sonos-card Ā· GitHub

1 Like

Hello, I am not sure if it was ver 5.5.0 of this card or HA 2022.6.0b4 but one of them took out my media display:

I downloaded both within a few hours of eachother and I just noticed it. Iā€™ve rebooted completely following the HA update reboot.

1 Like

Same thing just happened to me when I updated just now to 5.5

1 Like

Thanks for reporting the bug. Should be fixed now: Release v5.5.1 Ā· johanfrick/custom-sonos-card Ā· GitHub

@mboarman

2 Likes

I meant to confirm validation. Yes, this resolved the issue. Thanks

1 Like

Hi,
anoyone knows how to resize the ā€œplayer iconsā€ ?
I mean the player-footer-icon.
Thanks a lot.

type: custom:custom-sonos-card
styles:
  player-footer-icon:
    "--mdc-icon-size": 100%

PunxaPhil - I like coffee :slightly_smiling_face:

Sorry if Iā€™m just really off here, but itā€™s not just sonos.unjoin that is being deprecated. Itā€™s also sonos.join. I just grouped and ungrouped a pair of speakers in v5.5.1 and saw these events come over the bus:

{
    "event_type": "call_service",
    "data": {
        "domain": "sonos",
        "service": "join",
        "service_data": {
            "master": "media_player.sonos_basement",
            "entity_id": "media_player.sonos_kitchen"
        }
{
    "event_type": "call_service",
    "data": {
        "domain": "media_player",
        "service": "unjoin",
        "service_data": {
            "entity_id": "media_player.sonos_kitchen"
        }
    },

Just making sure the other half of this change is getting implemented before 2022.8? Iā€™m really enjoying your card. Cheers.

thank you very much. tried it with

styles:
  player-footer-icon:
    mdc-icon-size: 100%

:wink:
but i have to do something more styling because the alignment is not optimal ā€¦

Iā€™ll make sure it works before that

1 Like

Thatā€™s not correct. You are missing the ā€œā€”ā€œ at the start. Please use my example. You can also use other units, for instance ā€œ2remā€

yes i know, thanks once again. this was what i tried bevor asking hereā€¦

1 Like

Sorry -
How are people hiding the thumbnails in the favorites/media picker. Ive got over 300 local albums and its making the card HUGE on my main control surface.

Ideally the ability to scroll the media picker would be a REAL advantage (if it doesnt exist already)