Hi guys,
admittedly I’m not very skilled in HA, but maybe somebody can point me in the right direction:
So I’m trying to hide the icon for a entities card and add a suffix using card-mod.
Here’s what I’m doing:
type: entities
entities:
- entity: sensor.distance_whatever
name: Distance from Home
card_mod:
style:
hui-generic-entity-row: |
state-badge {
display: none;
}
.text-content::after {
content: " min";
}
which doesn’t hide the icon but adds the suffix
When I change the configuration
type: entities
entities:
- entity: sensor.distance_whatever
name: Distance from Home
card_mod:
style:
hui-generic-entity-row $: |
state-badge {
display: none;
}
.text-content::after {
content: " min";
}
it correctly removes the icon, but adds a line break before the suffix
What would I have to do to suppress the line break before the suffix? Any tip appreciated guys!
Regards
/H