Open Friedi1970 opened 4 months ago
Same here.
A quick fix to remove the label entirly
card_mod:
style: |
.mode-title {
display:none;
}
Same here.
A quick fix to remove the label entirly
card_mod: style: | .mode-title { display:none; }
thanks - where do I add this? I tried adding to the lovelace yaml via raw config editor and no change
Same here. A quick fix to remove the label entirly
card_mod: style: | .mode-title { display:none; }
thanks - where do I add this? I tried adding to the lovelace yaml via raw config editor and no change
You can place it after the ha-card style.
card_mod:
style: |
ha-card {
--st-font-size-xl: 24px;
--st-font-size-m: 20x;
--st-font-size-title: 20px;
--st-spacing: 2px;
--st-font-size-sensors: 13px;
}
.mode-title {
display:none;
}
I updated from home assistant 2022, to home assistant 2024, and have the same problem.
@ampersandru you have to use card mod
for this modification.
but even with this modification it looks very bad:
it is probably better to use
.mode-title {
visibility: hidden;
position: relative;
}
.mode-title:after {
visibility: visible;
position: absolute;
top: 0;
left: 0;
content: "";
}
but it still looks bad.
where is the code responsible for this? we should submit a fix
Describe the bug I use the simple-thermostat as a card in room-card. When I activate control, e.g. hvac, there is a text before the hvac modes: ui.card.climate.operation which I don't want to see (see screenshot).
To Reproduce see the YAML
Expected behavior I expect to have the hvac modes without the text before.