Have been able to use this to create buttons for my Sonos Favourite stations. I use Amazon Music rather than Spotify, but will look and see what I can do about making that work for shuffling playlists too.
For other people, here is the code I used for my Sonos Favourites:
shortcuts:
columns: 3
buttons:
- type: source
icon: <icon of choice - Optional>
id: <Favourite name - as displayed within the Sonos App>
name: <Name to display on the button>
Is there a way to change the color of the attribute shortcut buttons? But I donāt want them all the same color. If I have six buttons on the media card can I change only one button to a different color?
THANK YOU for putting a volume control on there. There are some really great media players out there and for some reason they lack a volume control. This is the BEST!!
After I try to group of ungroup one media player I got this error; Failed to call service media_player/join. required key not provided @ data[āgroup_membersā]
Complete newb here, trying to figure this outā¦ first custom card.
One of the main reasons I wanted HASS was to control my speakers and Spotify. After a lot of struggling I finally got mini media player installed, but now Iām struggling even harder trying to create the card I want.
I have two Sonos speakers (there are actually five, but four of them are grouped together in Living Room): media_player.living_room and media_player.move
Iām trying to create a card that allows me to do the following:
Group/ungroup the speakers
Change volume of each speaker independently
Change volume of the group
Has a button that allows to ābrowse mediaā OR- IF POSSIBLE- Has a button that takes me directly to Spotify media
Potentially more buttons on bottom to start a specific Spotify playlist
Can anyone help me out? Iāve been reading and tinkering but I just canāt figure this out. Iāve gotten maybe one of each of the above accomplished on separate players, just by copying/pasting from the Wiki, but beyond that Iām hitting a wall.
Is it possible to show the progress of the media but disable the ability to jump around? Itās really easy to accidentally change the progress of our movie when Iām scrolling through my dashboard on my phone.
I am using this card with a few alexa speakers. However, every time I try to skip back or skip forward on a song, i get the error
āFailed to call service media_player/media_seek. Entity media_player.office_speaker does not support this service.ā
I have only recently switched over from Google Assistant to Alexa and never had this issue. Is this a limitation of the Alexa speakers themselves or the Alexa Media Player integration?
Iām not too sure if this is possible. All buttons sit in the same div container and have the same class assigned. so you would need an individual class for eacht color and apply it to the button. The latter is the tricky partā¦
I actually did figure this outā¦The guy that runs Card Mod page referred me to his link on the first post of the page, that basically gives you the breakdown of everythingyou could possibly need. lol Thanks for the reply though.