#How can I re-create this card?
1 messages · Page 1 of 1 (latest)
thats just a media control card is it not?
or if you would prefer yaml
entity: media_player.YOUR_MEDIA_PLAYER_ENTITY_HERE```
You're completely right, i just didn't know what do search for 😀 Thanks!
I think I’ll have to call on your expertise again…
The thing is that HA added two different cards to overview…
I think it’s because I first added the tv… then later it popped up as a media player as well.
The card in OP looks like this when disabled:
The media control looks like this disabled:
The former is what I’m looking for, as the latter doesn’t allow me to turn in the tv
when you say disabled. what exactly do you mean? do you mean your disabling the entity? if you disabled the entity no controls will work because its disabled
Turned off, sorry
The tv
It’s in tv off state. The latter card assumes the tv to be on to work. The former card lets me turn on the tv.
look at the cards yaml and see what it does differently.
maybe its a different entity its referencing. maybe the tv is connected in multiple ways somehow. media control doesnt have much in the way of configuration options so i dont know what else it would be getting it to act differently if not a different entity
Do you know where I can find the yaml for the overview page? It seems like a common question... i saw an answer that this page is actually not available in yaml, but as json. I'm good with looking into that too.
maybe the tv is connected in multiple ways somehow
It's definitely represented in two ways, one as TV (for remote control) and the other more like generic media player
I haven't found "the other" way...
like, whatever the second representation is
on the card editor in the bottom left is "show code editor" and it will show you the yaml of the card
I don't see that from the Overview, maybe because I haven't taken it over yet? I go to the device, and it shows this as an option:
looks like the one I want
(still no yaml preview avail)
but when I then click Add to Dashboard
I get these very simple "suggestions"
it's kinda weird, why not suggest the exact thing that was put on the Overview
yep yep, that's what I do for yaml driven dashboards
but the overview page... it gives me this
pop up:
everything is autogenerated, i assume
oh its an auto generated dahbaord
i can't get to card level yaml
yep
If only i could clone the Overview, but that's not possible either
i havent used auto generated at all in so long
Eventually I'll get thre too, it's a bit chaotic
if you want to you can create a new normal dashboard, make it default then delete the autogenerated one
but I'm new so I'm using the current Overview to get inspired as I connect things
Yeah... but it's the BEST TV card i have 😅
I have other Dashboards, so I do know how to manage those
ok lets see if you have multiple entities for the tv in the entities list
settings - devices and services - entites tab
Yep
put in the search box media_player
the 2nd one on the screenshot there is a remote enitty not a media_player
👍
just want to see if there is multiple media players for the tv on the full entity list
right here we are
i think the first one is not set up correctly and maybe can be disregarded?
or it's because the tv is not on
you see the tv has 2 media players. one from samsung and one from dlna
the card that you set up thaat doesnt look right is using the dnla one instead of the samsung one
yep... i connected them a day between... first samsung, then the media player dlna... which resulted in the two auto cards shown above, in that order
this
is the wong one
the dnla one will probably only be active when the TV is "on" but the samsung one will be on in "standby" so it can switch it on
yup
Yep, this is the one i'm trying to recreate
When TV is on... there's a volume slider and there's also a dropdown with quick access to apps etc
click on this one
yup
then on the entity ID hit the copy button
so thats media_player.tv_living_room right?
this is the entity you want in the card
correct!
go to the new dashboard you added the card to and open the card editor
If you want the yaml for an autogenerated dashboard, just take control of it and then you'll get a copy
1 problem at a time, 😛
I'll take control eventually, but I'm new so i'm postponing, using it as inspiration for now... but good suggetions down the line
hehe
"stick with me" 😄
Hold on, I just copied the ID... didn't add anything?
when adding/editing the card you can comfirm which enity its using in code editor
so it should look like that (but it will work obviously because you have the entity and i dont)
ok, gotcha.... just a sec
then it should look correct and be able to switch on the tv
no thats a tile card
replace the entire box with
entity: media_player.tv_living_room
ok
that will make it a media control card that points at the correct entity
BOOOM!
yeah, both suggestions that get added from the device are TV and remote, as tiles
This is what I see now, after changing....
you were close before when you had this. but it was pointing at the dnla integration entity instead of the samsung integration entity
when the tv is on they are probably functionally simalar but the dnla disables when the tv is "off" but the samsung one stays active so you can use it to switch on the tv
sometimes you get multiple entites for the same function and you have to get the right one or it doesnt work right. its something you will leearn
good to know. Yeah, eentually i'll get the hang of HA terminology and approaches. Most of it has been fairly straight forward, but this one really puzzled me. Also because I couldn't peak under the hood on the auto generated card. That would have given me something to run with immediately
yeah as was said above by karwosts. you can take control of the autogenerated card when your ready. i forget how but i am sure you can find it
Apoligies if I've been fuzzy in using correct terminology, I hope it wasn't too frustrating 😄
its fine, as long as you have learned something and its easier next time
i definitely have, and I'll pay it forward 👍 Thank you!
Is one supposed to mark this thread as "solved" somehow?
its been marked as resolved