Second 4.11.0 beta — adds a state → colour map and fixes an icon-colour leak reported on beta.1. Feedback welcome on #444 and #445 before the final release. Install via HACS with Show beta versions enabled.
New since beta.1
state_colormap (#444) — a per-state colour, the waystate_iconis a per-state icon. Overridescolorfor matching states; unmatched states fall back tocolor. Painted whether or not the entity is active (unlikecolor, which HA applies only to active entities), and static, so it costs no template subscription. The boolean form keeps working as the deprecated alias.- entity: sensor.backup_status color: var(--disabled-text-color) state_color: critical: var(--error-color) warning: var(--warning-color) ok: var(--success-color)
- Row
icon_colorno longer bleeds into additional entities (#445). It painted through row-wide CSS variables that cascaded into every sub-entity icon showing its default colour, with no way to undo it. It now paints the main icon only; a sub-entity that relied on inheriting it sets its ownicon_color. Behaviour change.
From beta.1
name_gap— spacing between the main icon and the row name (#401, contributed by @BlackZork).- Templates in
styles(#439) — colour the displayed text by state; works on the row, additional entities andsecondary_info. - Additional entities follow the row's
color(#441) —color: noneon the row restores the pre-4.9 look for the whole row. Behaviour change. styleson asecondary_infoobject works again.
Full Changelog: v4.10.2...v4.11.0-beta.2