github benct/lovelace-multiple-entity-row v4.11.0-beta.2
4.11.0-beta.2

pre-release5 hours ago

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_color map (#444) — a per-state colour, the way state_icon is a per-state icon. Overrides color for matching states; unmatched states fall back to color. Painted whether or not the entity is active (unlike color, 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_color no 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 own icon_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 and secondary_info.
  • Additional entities follow the row's color (#441) — color: none on the row restores the pre-4.9 look for the whole row. Behaviour change.
  • styles on a secondary_info object works again.

Full Changelog: v4.10.2...v4.11.0-beta.2

Don't miss a new lovelace-multiple-entity-row release

NewReleases is sending notifications on new releases.