I have been using the button card with this config for the past little wile and now want to add an extra aspect to it but im having trouble figuring it out. I was hoping someone here can help me out.
How do i add a custom field in the top right corner that would display the state_attr(‘light.oven_light’, ‘brightness’) ? i would like it to look like the pic below.
@RomRider Thank you so much. This did the trick for changing the icon colour. Now I’m wondering if I could create a variable that I can use multiple times. If so, can you please advise how this would look like ?
Bit of a cross post with my question here, but I figured this thread might be a better place to ask since I’m using button card at the moment.
As per the question posed in the link - is there any way to shrink a button to ‘icon only’ for mobile view - but have icon + text for tablet/desktop widths ?
I´ve tried so many different versions of the code but I cannot seem to find the right way. Could some one point me in the right direction? Maybe there is an even simpler solution which by now I haven´t found.
My main dashboard shows only active devices in my home, all in their own button-card field. all fields are the same size (280x170px).
I would like to show a clock (hour:minute AND counting seconds) plus date and shown weekday.
Could someone help me with a extremely simple template that just takes the current temperature from a entity, and places it in the middle of a custom card button, please.
(I know. And I’ve tried to Google and read up on it, but it’s kinda messy with the yaml code and stuff).
is it possible to define or call up the attributes via state?
I want to change the icon when the roller blind is at 50%.
Or how can I best implement this?
but of course it is not functional… though at first click it did take me to buy homepage, so I cheered. On closer inspection it does that wherever I am, and does so because it simply isnt correct syntax…
@RomRider , would you know of a way to accomplish this ‘back’-button, truly navigating the Lovelace browser history? How can we implement the ‘history.back(-1)’
Would hope it to be doable, since entering it in the inspector command line does exactly that, go back in history 1 step
never noticed before, probably because I have my border-radius set to 0 by default, but on these new ‘chips’ I notice a squared pop up background border upon tap:
can I make those use the same border-radius as the chip itself? what would be the correct css option for that please? this is my chip config:
you don’t need a template. Just follow the docs and use a temperature sensor as the entity for the card. It will display the state without any crazy template. The regular built in button card does this too.
Well that code is over 2 years old, so that will probably no longer work. And I have to be honest, I wouldn’t really know how I did that. However you can check out my current project and install that instead.
Anyone know if the button card can be used to launch the ‘media browser’ popup dialog for HA ?
(I’m talking about the one that you see if you click the browse button on the spotify player lovelace card for example)
I’ve been searching a while, but have not managed to find out if it’s possible to open this popup dialog directly… i’d like to get the custom button on my dashboard to browse the spotify source.
Hi, anyone know a way to create a color ‘dot’ that matches the actual color of a light entity? I have seen something like this, but I can’t find it anywhere. Kinda like this: