Could there be a possibility to change these icons? thank you for the great work of this card
Please create a feature request on GitHub
Thanks for the new version, you are TOP.
Great card, thank you for creating something better then the real Sonos app! One questionā¦Is it possible to arrange the rooms in the Groups window? Right now the top one is my kids bedroom and my wife keeps turning on by accident as that is the default.
Thanks!
How about renaming them in the card?
entityNameRegexToReplace: Kids Room
entityNameReplacement: Z. Kids Room
Very nice card and thanks a lot for that awesome work !
I have follow the youtube f smarthomejunkie and add button to play radio
it is working fine, but I would like to display the picture of the radio in the player card
how to do it ?
the code of the button-card is :
type: custom:button-card
entity: media_player.bureau
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id: media_player.bureau
data:
media_content_id: media-source://radio_browser/1cfb151d-a341-11e9-a787-52543be04c81
enqueue: replace
media_content_type: music
entity_picture: /local/radios/France_Info.png
show_entity_picture: true
name: France Info
show_name: true
styles:
card:
- width: 100px
- height: 100px
thanks a lot for your help
@smarthomejunkieās video is really nice! If you need help with the buttons outside of the card, check with him (for instance ask in the comments of the youtube video).
You do NOT need to create external buttons though, you can use customSources
feature of this card to create your custom favorites directly in the card!
You can read more about it here: Custom Favorites / Sources
Hello
I have created a radio with custom favorites/sources, it is working fine
but I would like to put a png in the player card
does somebody explain how to display a png in the sonos player card ?
I am lost with the artwork parameters ā¦
thanks for your help
I have found a solution
when you play the sation, go to the developpement to the contentid
media_content_id: aac://http://ais-sa1.streamon.fm/7169_48k.aac
and in the player card you can add :
mediaArtworkOverrides:
- mediaContentIdEquals: >-
x-rincon-mp3radio://http://54.38.43.201:8009/stream-128kmp3-BossaNovaBrazil
imageUrl: /local/radios/bossa_jazz.png - mediaContentIdEquals: aac://http://ais-sa1.streamon.fm/7169_48k.aac
imageUrl: /local/radios/Hank_FM.png
and the image is display on the card ā¦
I could use some help with the Sonos card. Iāve got 4 Connect:Amps (S1) that I use for powering outdoor zones. Iāve got 2 TVs hooked up to the analog inputs of 2 of the amps. Is there a way when I have the speakers grouped to toggle back and forth between 2 different Line-ins? I have my Line-Ins set as favorites in my Sonos App but they donāt show in the favorites on the Sonos Card. Wasnāt sure if this was expected behavior.
Did you try customSources
?
Didnāt think about that. Will custom sources work with the line inputs to the amps? Same method for setting them up: developer tab and states? Iāll mess with that a bit this morning. Thanks!
Edit: Just tried it and it works like a champ. Thank you Phil! This is a game changer for my outdoor setup.
@PunxsutawneyPhil Hi Phil - its; me again with the S1/S2 combo
Phil Iāve got a question about using your card vs music assistant
Yr card needs the Home Assistant Sonos integration to work? That is correct?
As you may be aware there were some recent Music assistant updates in firmware where they now have two Sonos āprovidersā in code for setup Sonos (for S2) and Sonos S1 (For S1)
Now without going into the detail of why they did that, there is now a message in the music assistant help section that recommends (under known issues) - āUsing the Sonos HA Integration at the same time as the MA player provider may cause problems. Recommend only using the MA player providerā.
When I set up music assistant (after the recent fw update to Sonos S1) I no longer see them in music assistant. But I still see them in yr cardā¦
Whilst I appreciate this is a kind of āmusic assistantā issue I guess I am after a philosophical answer to move forward with all these S1/S2 Sonos issuesā¦
Why did they (at Nabu Casaā¦now itās officially supported) make this change to the way music assistant handles Sonos S1?
Are you going to have to make similar changes in the future?
(I am fed up with all the changes to sonosā¦ yes whilst I appreciate that is fundamentally a sonos issue ā¦I still hate them for dropping support for earlier devices) I guess I am asking for long term advice Philā¦
1/ Should I ditch my beloved S1āsā¦ or will you always support them?
2/ Should I ditch using music assistant or will there become a time when finally finally the Sonos integration and the music assistant integration will work seamlessly togetherā¦?
(because they never haveā¦ and still donāt)ā¦
Iād appreciate your learned āgenericā advice Phil moving forward - because itās driving me nuts
Thanks
A.
1: The plan is to always support the official Sonos integration in Home Assistant (so if they support S1, sonos-card probably will)
2: This is probably not a question for me? Itās ābetweenā the Sonos integration and Music Assistant.
@JejeSwiss @MLorenzen @weemaba999
They added support now for getting the queue in the Sonos integration, and because of that we can now show the songs of the current playlist. It is still in beta state for this card. Please try out the beta out and come with feedback!
What does this error mean? thanks : Failed to perform the action media_player/play_media. Error calling SonosMediaPlayerEntity._play_media on media_player.family_room: The method or property āclear_queueā can only be called/used on the coordinator in a group
I doubt that is from the sonos-card
does anyone has this error?
Uncaught error from Chrome 125.0.0.0 on Windows 10 ReferenceError: Cannot access 'e' before initialization Object.callback (/hacsfiles/custom-sonos-card/custom-sonos-card.js:374:980) callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33) forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)
see it in Chrome and as well in the companion app
I get that error all the time. Itās Issue #489 on github.
Iām not able to reproduce it. Hoping for someone having this error, with some tech skills to figure out where to start. The errors posted so far about this does not give me any indications on where to start looking.
anything that we can help? do you need additional information?