mini-media-player icon indicating copy to clipboard operation
mini-media-player copied to clipboard

alternative for using conditional cards with mini media player

Open MarpleA opened this issue 2 years ago • 1 comments

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.

MarpleA avatar Nov 23 '22 18:11 MarpleA

Look at "yaml anchors"

mrgrlscz avatar Dec 08 '23 21:12 mrgrlscz