Beta for 4.11.0 — feedback welcome on #439 and #441 before the final release. Install via HACS with Show beta versions enabled.
What's new
name_gap— the spacing between the main icon and the row name, a CSS length or a number (px). HA hardcodes it at 16px inside its row element's shadow DOM, out of reach of themes and card-mod; rows that don't set it are untouched. Contributed by @BlackZork (#401).type: custom:multiple-entity-row entity: light.living_room name_gap: 8px
- Templates in
styles(#439) — anystylesvalue can be a template, on the row, additional entities andsecondary_info. This is the way to colour the displayed text by state (coloronly reaches icons). A pending declaration is left out until its result lands; the rest apply immediately.styles: color: "{{ 'green' if states('sensor.aqi') | int(0) <= 50 else 'red' }}" font-weight: bold
Changed
- Additional entities follow the row's
color(#441). An additional entity without its owncolor/state_colornow inherits the row's, socolor: noneon the row restores the pre-4.9 look for the whole row. A per-entitycolor,state_colororicon_colorstill wins. Note: a row withcolor: rednow tints its sub-entity icons too — setcolor: stateon them if you relied on the old split.
Fixed
styleson asecondary_infoobject had been silently ignored since 4.0.0; it applies again, as documented.
Full Changelog: v4.10.2...v4.11.0-beta.1