Skip to content

4.11.0

Latest

Choose a tag to compare

@jpettitt jpettitt released this 26 Aug 14:26

Behaviour changes — read before upgrading

  • Row icon_color no longer bleeds into additional entities' icons (#445). It paints the main icon only; a sub-entity that relied on inheriting it sets its own icon_color.
  • Additional entities follow the row's color (#441). An entity without its own color/state_color inherits the row's, so color: none on the row restores the pre-4.9 look for the whole row. A per-entity color, state_color or icon_color still wins.

What's new

  • state_color map (#444) — a per-state color, the way state_icon is a per-state icon. Overrides color for matching states; unmatched states fall back to color. Paints whether or not the entity is active (unlike color), and needs no template subscription. The boolean form remains the deprecated alias. Quote 'on'/'off' keys in YAML-mode dashboards — unquoted, YAML 1.1 parses them as booleans.
    - entity: sensor.system_health
      color: var(--disabled-text-color)
      state_color:
        critical: var(--error-color)
        warning: var(--warning-color)
        ok: var(--success-color)
  • name_gap (#401, contributed by @BlackZork) — the spacing between the main icon and the row name, a CSS length or a number (px); previously only reachable with card-mod's shadow-piercing $.
  • Templates in styles (#439) — any styles value can be a template, on the row, additional entities and secondary_info; the way to color the displayed text by state.

Fixed

  • styles on a secondary_info object had been silently ignored since 4.0.0; it applies again, as documented.

Thanks @BlackZork, @crowbarz, @LouPaloma, @dcapslock and @Mariusthvdb for the features, reports and beta testing.

Full Changelog: v4.10.2...v4.11.0