entities:
- color: black
entity: sensor.epson_ink_level_black
name: Black
style: >
bar-card-value {text-shadow: 1px 1px white;}
but nothing is showing…isn’t the color styled? would probably be easiest?
secondly, while I am at the feature request department:
could the name be auto word-breaked? check Magenta and Yellow. In my post above the full friendly name is displayed nicely, so it should be possible?
#0005 is black so you probably want #FFF5. Also I’d like to keep the default text-overflow the way it is because it doesn’t look very nice otherwise in my opinion, but you can set the title CSS like this if you want to just break the title name:
its a bit of a hit and miss to find the right color to be contrasting to all cartridge colors…
so, if ever an indivual sensor style would be possible, Id certainly applaud that.
thanks for your quick support, much appreciated!
It’s no longer directly possible to display an attribute. If you want to display a specific attribute I’d recommend creating a template sensor and displaying that.
Also if you want to remove the white space you have to set the icon position to off.
I kind of understand you don’t really want to add that many template sensors. However after cleaning up the config for the card I’d prefer not to have any options that can be handled by other other components or cards.
Also as far as I know in general most integrations expose the battery level as a separate entity (I might be wrong though).
I’m not saying I definitely don’t want to add this option back in, but I’m kind of curious how you would handle this in anything other than bar-card.
I am in the same condition and asked to the developer the same thing, but as I see it is impossible… I am forced to think something else… Did you realized something about it?
Ah right forgot about that part. This should do it, generally if you want to align an element in the middle you’ll have to set auto margins on both sides.