Started using this card and loving it. Just wondering if there’s an easy way to show the same cards for multiple states. i.e. for a media player state, I want the same cards to show whether the state is “on”, “playing”, “paused”, but different cards for “idle” and “off” (I think).
Is there a way to have the same cards show for on, paused and playing, but not for off and idle?
My current work around is to have just “playing” and “off” as the specified state cards, and the default set as “playing”, so that if the state is actually “paused” it still shows the “playing” cards.
The alternative I guess is to make a template binary sensor based on the states and reference that instead of the media player.
But this raises an error: No such file or directory: '/config/lovelace/media/remote_sources.yaml !include remote_dish.yaml'
Adding a newline between the !includes raises the same error.
I have been trying to get this card working but no matter what I have done, I don’t get the options to show up. I’ve uninstalled and reinstalled the repository and cleared the cache and cookies but nothing has changed. I’ve tried very basic setups and nothing is showing up so maybe the code is bad? Does it need to be in another card to work?
@thomasloven I really love this card. Can you share the code for the example you give with the button presses change the view. Do you use an input boolean to accomplish this or what?
I am not begging for help I just want to get the code to see if I can get it to work properly. I know its not a forum I understand that I was just curious if the maker of the card is willing to elaborate more on the code structure. I am just wanting to try to use a card in an advanced way and wanting to see if it is possible.