Thanks mate. The var(–mush-rgb-indigo, 63, 81, 181) resolved the progress bar issue however the --secondary-background-color suggestion did the following
Hang on, are you in dark mode or light mode? In light mode the text should be black not white .
Try using default theme if you are not already.
This is the difference I see with using --secondary-background-color. It’s subtle but top is --card-background-color and bottom is --secondary-background-color.
When I recreate your media player the volume controls don’t work for me, when I click the volume button the standard buttons do disapear, but I don’t get the volume bar in this place, it is just empty. Does this require a Node Red flow?
Trying to think of a way to have a chip on the top of my page that acts as a drop down menu when clicked so I can navigate between pages without having to go back to my home page. Any thoughts on how to do that?
Does anyone know if its possible to do a mushroom template card with the button/slider from a mushroom number card? I would like the custom benefits of a template while having the number buttons.
Hey, I have a template card where the primary sensor state is too long (not fit) so I need to wrap it. With the following code everything is ok in browser but not in the homeassistant app or mobile browser (android). Is there any other option what can fix this issue?
Is there an option to set the width of the mushroom card? Want to utilise the header to show the temp and humidity but with horizontal-stack they take all the available space as shown. I know i can use a template card but that way i won’t be able to access the history graphs. Any suggestions are welcomed
Hello, sorry for the question, I’m learning!
I modified my mushroom template card with card_mod and using ha-card.
I would like to integrate some icon animation with ha-icon, but I don’t understand how to write the code.
If I use mushroom-shape-icon$: then the ha-card part is not processed
Here is my current code:
card_mod:
style: |
ha-card{box-shadow:none;border-radius:25px;border-width:0px;}
{%if is_state('switch.asciugatrice_pow','on') or is_state('switch.tasmota_2','on')%}
ha-card{background-color:#79a63d;--icon-border-radius:12px;--primary-text-color:black;--secondary-text-color:#242424;}
{%else%}{%endif%}
{%if is_state('switch.asciugatrice_pow','off') and is_state('switch.tasmota_2','off') and is_state('switch.riscaldamento_2','on')%}
ha-card{background-color:#b07248;--primary-text-color:black;--secondary-text-color:#242424;}
{%else%}{%endif%}
ha-card:active{transform:scale(0.92);transition:0ms;border-radius:10px;background:rgba(var(--rgb-disabled),0.3);}
EDIT
For those who have my same problem and are not competent (just like me), I solved it temporarily using custom:stack-in-card
EDIT 2
But I don’t solve the problem with the mushroom-template-cards with the modified icon, like the one in the attached photo.
I modified the icon with ha-card and I can’t keep that code if I want to put animation, even using stack-in-card.