Here is card for my printer:
type: custom:bar-card
direction: up
entities:
- color: MediumTurquoise
entity: sensor.epson_et_4500_series_cyan_ink
name: null
- color: MediumOrchid
entity: sensor.epson_et_4500_series_magenta_ink
name: Magenta
- color: Gold
entity: sensor.epson_et_4500_series_yellow_ink
name: Yellow
- color: Black
entity: sensor.epson_et_4500_series_black_ink
name: Black
height: 200px
positions:
icon: "off"
name: "off"
minmax: "off"
indicator: "off"
title: outside
max: 100
min: 0
padding: 2px
unit_of_measurement: "%"
stack: horizontal
title: Epson 4500
card_mod:
style: |
bar-card-currentbar {
border-radius: 10px !important;
}
bar-card-backgroundbar {
border-radius: 10px !important;
}
bar-card:nth-child(4) bar-card-value {
color: white !important;
}
And looking for…
Grok suggested the nth-child - does not work.