Tu vas devoir passer par « card mod ».
Exemple :
type: horizontal-stack
cards:
- entity: sensor.1600_pro_battery_charge
max: 100
min: 0
name: Battery
type: gauge
card_mod:
style: |
ha-card > div.name {
font-size: 35px;
}
- entity: sensor.1600_pro_battery_charge
max: 100
min: 0
name: Battery
type: gauge
card_mod:
style: |
ha-card > div.name {
font-size: 10px;
}