Can someone help me please? I’m trying to do something that should be simple.
Here is a Mushroom Entity Card displaying my temperature sensors. Looks nice, but I’d like to have the Name text on top, the Icon in the middle and the Temperature on the bottom.
The Glance Card is just what I want, but I can’t figure out how to make customize the text size like I can do on the Mushroom Entity Card. Here is the Glance Card. I have searched and searched and can’t figure it out.
I have inspected the dashboard html code to try and add the text-size option, but nothing I do seems to work. I really prefer the separated look of the Mushroom Entity Card, so I’d prefer to fix that one if it’s possible.
Thanks in advance! It’s probably something simple.
I would like the state color to be green if running and red if not running. I’ve had a bit of a challenge trying to find a way to turn the actual item state a color in template entity row. And then what’s the correct syntax to implement that card mod in this auto entities template?
This thread is for themes. You should have asked in the main card-mod thread.
Examples for using card-mod for auto-entities are provided here: main card-mod thread → 1st post → link at the bottom titled “fantastic” → auto-entities.
Particularly for template-entity-row: you may use a native “color” option which supports jinja. Using card-mod not required (unless you need smth specific like mediaquery etc). There is a dedicated thread for template-entity-row.
I’ve put this in my theme yaml, reloaded themes, cleared cache, and refreshed, but I still have no effect. Is there something simple I could be missing?
Check if you added card-mod-theme code properly into you theme file.
Could be useful: card-mod thread → 1st post → link at the bottom → themes → one of 1st links
At the moment, all I want to do is to have a transparent or semi-transparent background on every card. It seems on your example that you have put a image as background on every cards (so it is similar to what I want), however - if I try your code it puts the image as background behind all the cards, not on the cards themselves.
Not sure why we get different results. I have also tried this, but it didn’t do anything at all even though I can see in the generated html that the elements are called ha-card: