#Cannot change font size

1 messages · Page 1 of 1 (latest)

sage hamlet
#

Hi,
I'm trying to create a dashboard to measure my DC consumption. As you can see there is 13 racks, each with 2 PDU.
I'm able to change RACK label font size, but I cannot change the PDU label size.
I'd like to reduce so that it could fit perfectly on the frame.

here is my template :

#

decluttering_templates: pdu_bar_16a: card: type: custom:bar-card title: '[[name]]' unit_of_measurement: A max: 16 height: 48 align: split icon: mdi:power-socket positions: name: inside value: inside indicator: inside icon: inside severity: - from: 0 to: 8 color: '#4CAF50' - from: 8 to: 12 color: '#FFC107' - from: 12 to: 14 color: '#FF9800' - from: 14 to: 16 color: '#F44336' style: | bar-card-name, bar-card-value { font-size: 10px !important; } entities: - entity: '[[l1]]' name: L1 - entity: '[[l2]]' name: L2 - entity: '[[l3]]' name: L3