Skip to content

4.11.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@jpettitt jpettitt released this 22 Aug 20:15
· 9 commits to master since this release

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, so until now it took card-mod/UIX's shadow-piercing $ selector; name_gap makes it a plain option. 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) — any styles value can be a template, on the row, additional entities and secondary_info. This is the way to color the displayed text by state (color only 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 own color/state_color now 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. Note: a row with color: red now tints its sub-entity icons too — set color: state on them if you relied on the old split.

Fixed

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

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