SOLVED:Trying to hide a card without a state?

I have a chromecast that is powerfed from the tv, so when the TV turns off, it goes offline.
I don’t want the media-control to display when it’s offline as it just shows a red card.

I’ve tried using conditional and filter, but they both refer to states, and it doesn’t have a state when it’s offline.
So how do I do that?

Try the mini-media-card - it won’t give you a red screen

1 Like

Is it this one GitHub - kalkih/mini-media-player: Minimalistic media card for Home Assistant Lovelace UI
?

The mini card looks quite nice. Though I can’t seem to get all the settings to work yet, and danish isn’t supported in the tts part :cry:
ThankyoU!

1 Like

Yes but the benefit is if the entity does not exist you don’t get that nice red box error.