Hi:
I have a questions that I have not found a way to solve, I hope someone can help me.
When one of the shortcuts is active I would like the color to be orange. For some reason it changes to orange for less than a second and turns white quickly. It may be something in the theme but I don’t know what the variable is.
Thanks for the help. Unfortunately it’s still the same. Apparently it has something to do with the artwork using the parameters. If I use “artwork: none” everything works correctly, if I use “artwork: material” the background color of the buttons is affected and only the hdmi that does not have automatic artwork worked. For example the Mac button is the only one that turns orange when active.
Its been a while since i ran my home assistant vm. Since spinning it back up ive noticed i no longer get artwork on my 2 smart tvs when using apps like netflix and hulu. Is anyone else experiencing this?
trying to setup radio fm button for Alexa Echo device.
when using this code then Alexa would say
" TTS can only be called notify.alexa_media service " any idea how to create a button to play FM radio stream on Alexa device?
type: custom:mini-media-player
entity: media_player.echo
artwork: cover
info: short
shortcuts:
buttons:
- name: FunRadio
icon: mdi:radio
type: music
id: https://stream.funradio.sk:18000/fun128.mp3
Is it possible to use template in entity value?
I know there is another custom component, config-template-card, that I can use to manage template but I’m looking for a “native” use of data template.
With config-template-card I have some issues about update of the mini-media-player card.
Thank you
I’m using mini-media-player with synchronized squeezelite players but there is a number added to the name of player as you can see below (+1 after Laptop)
Ok, thank you.
Just to have a clean name but it’s not so relevant. I suppose this is a feature related to Logitech Media Server integration since there was no indication when I used snapcast integration for synchronized multi-room audio system.
Great card you got there. I copied it
But I can’t seem to get the cover images to load in the card. I have the logos stored in /local/logos.
How did you manage to get this working?
When you install via HACS you don’t need to manually add the resource. Those instructions are under ‘manual install’. Remove that and refresh your browser (HACS would have asked you to do that after adding the card to your HACS library).
There are some fairly straightforward fixes needed for your code, but actually it’s not 100% clear what your code is trying to achieve - do you want your button to play a Spotify playlist and set a scene?
You will either have to create 2 separate buttons, one for each task, or create a script that plays the playlist and sets the scene, then call that script from your button.
yes thanks @reste_narquois I am trying to play a spotify playlist and call a scene. The scene just turns on my denon receiver and sets it to the correct input. Still new to all of this but I am reading a script may be the best option here. Will do so more digging.