Second beta for 4.12.0 — adds text colors and a fix for "Invalid display format", on top of beta.1's entity naming. Install via HACS with Show beta versions enabled.
Heads-up: a custom color on an additional entity showing text used to be silently ignored; it now colors that entity's value. Remove it if you don't want the text colored.
What's new
- Text colors (new in beta.2; #455, based on #431 by @vkostakos) — an additional entity showing text (no
icon,state_iconortoggle) now takes its owncolor, or a matchingstate_colorentry, as the value's text color.state,noneand the row's inherited color still apply only to icons, the main state is unchanged, and an explicitcolorinstylesstill wins:
entities:
- entity: sensor.dishwasher_machine_state
state_color:
stopped: steelblue
error: red
- entity: sensor.battery_level
color: "{{ 'red' if states(entity) | int(0) < 20 }}"- Entity names follow Home Assistant's naming (from beta.1; HA 2026.4+; contributed by @bramkragten, #453) — names resolve through HA's own
formatEntityName, and a device, area, or floor rename now updates rows live.namecan also be a list of parts (YAML-only; see README "Structured names").
Fixed
- "Invalid display format" on
secondary_info: last-changed(new in beta.2; #454) — HA's visual editor renames a row'sformattotime_format, which HA 2026.9's row also reads for that line, so a number format likeprecision0broke it. Only HA's timestamp values reach the row now. - Hidden
secondary_infoshowed the main entity's state (from beta.1; #452) — on HA 2026.8+, an object form hidden byhide_unavailable/hide_ifnow hides again. lovelace-canary no longer takes over templated secondary lines, sodisable_canary(#450) is no longer needed. - Injected style rules no longer churn (from beta.1) —
name_gapand icon-paint rules survive the row's template swaps. Thanks @dcapslock.
Full changelog: v4.11.1...v4.12.0-beta.2 (since beta.1: v4.12.0-beta.1...v4.12.0-beta.2)