I’ve tried multiple times to get the preconfigured buttons containing playlist links to work but they dont do anything when i press them. HA-log is silent. Everything else seem to work as it should.
I’ve tried the example code you’ve provided in your github aswell (visible below) but no luck there either.
Do ppl have this working at the moment? And does the below code work for you?
Yes, it works, note that the id format has to be supported by the platform, a spotify uri for example will most likely not work on other platforms than spotify.
When I try to use the grouped card with multiple Sonos players using the code provided, I get the following error:
Your config is not supported by the UI editor:
**Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.type` but received `"custom:mini-media-player"`.**
Falling back to YAML editor.
I’ve got spotify as default music playback on my alexa devices and im trying to click the button from HA in a chrome browser from a windows machine - nothing…
Is it possible to run amazon music playlists in the “id”-tag? It was not mentioned in the manual so i guess not?
Make sure show_group_count is inside the speaker_group option object, see example, you obviously don’t have to list any Sonos entities if you don’t plan to use the group management feature.
Sorry, what I really meant is that most media player integrations handle things differently, so Spotify uri’s are as far as I know only supported in the Spotify component.
Since there are tens or maybe even hundreds of media player platforms/components I can’t possibly have examples covering every use case, unfortunately.
The service the shortcuts call to play media (play_media) is not specific to this card, everything you can achieve through the play_media service works through the shortcuts.
Amazon music and even Spotify should work through the alexa media player component I believe, check out these examples, media_content_id = shortcut id & media_content_type = shortcut type.
I hope that cleared up things, and if not, let me know!
Sorry for jumping in. Have you manage to group you google home minis? I have tried but with no luck. I have created a group in the app but I can not find it in HA. Any idea?
Many thanx
I created a group with the Google Home app, and that shows up as a media_player in Home Assistant.
Currently we use the Google Home via voice to “play music on Home Group”, I’ve just added the 3 group member speakers in there so we can drop one off if need be.
Eventually I just want a few buttons on the wallmount tablet to play a few set playlists.
Great card - looks very good. Do you think there is an easy way to set the artwork as the background of the view? I dug around in the HTML but couldn’t find a way
Yeah, should be possible and shouldn’t be too hard I think, you could create a small javascript script and include it in your resources, the script could listen for changes on the entity’s entity_picture attribute and set the entity_picture url as the background image of the #view element in the dom.
Just a heads up, the entity_picture can be pretty low res, so could possibly look pretty bad if you scale it up to fill the entire view.