kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.48k stars 206 forks source link

alternative for using conditional cards with mini media player #713

Open MarpleA opened 1 year ago

MarpleA commented 1 year ago

I currently use conditional cards with mini media media player. One mini media player card per amazon echo media player device. 4 devices and 6 zones sum up to a huge amount of almost redundant media player cards. the only difference is the media player entity and the name of the card. Even worse, each card has 12 shortcuts for radio stations. Whenever I change one radio station shortcut I gotta do this 10 times and since the code is huge it is sometimes confusing.

Is there any way or workaround to reduce the number of cards? I tried using scripts but in order to show the currently active player I still have to use mini media player with it's specific media_player entity.

mrgrlscz commented 7 months ago

Look at "yaml anchors"