Skip to content

4.7.0

Latest

Choose a tag to compare

@jpettitt jpettitt released this 08 Jul 23:41

⚠️ Breaking changes

  • Minimum Home Assistant version is now 2024.4 (enforced via hacs.json). The row now always delegates state/attribute display to HA's own formatters (hass.formatEntityState / formatEntityAttributeValue), so values match HA's UI formatting exactly. If you're on an older HA, stay on 4.6.1.
  • Sub-entity taps no longer also fire the main row's action. If you relied on that double-firing, configure the desired action explicitly per entity.
  • A long-press without a hold_action now acts as a plain tap (matching HA's native rows; previously opened more-info).

What's new

  • Visual editor — edit the row through the entities card's UI editor: tabbed Main/1/2/3 entity editing with add/reorder/copy/paste/delete, secondary info, state-based icons, per-entity custom CSS, and tap/hold/double-tap selectors.
  • Per-entity hold_action and double_tap_action — every action resolves against the entity actually tapped, including tap_action.entity more-info overrides.
  • Combinable formats — comma-separated numeric pipelines, with a Custom… entry in the editor:
    format: invert, precision3
  • hide_if against another entity:
    entities:
      - entity: sensor.dsc_exit_state
        hide_if:
          entity: switch.dsc_armed_away
          value: 'off'
  • icon_color — any CSS color for entity icons: icon_color: 'var(--accent-color)'
  • state_icon — state-to-icon map, takes precedence over icon:
    state_icon:
      'on': mdi:door-open
      'off': mdi:door-closed
  • show_state_first — render the main state before the additional entities.
  • New formats: percent (value × 100 → 25 %), and upper / lower / capitalize / title text transforms.
  • --multiple-entity-row-header-color theme variable for entity header color.
  • Top-level hide_if / hide_unavailable now work on the main state value (previously silently ignored).

Internal

  • Actions dispatch through HA core (hass-action event) — native confirmation dialogs and lock/cover security restrictions now apply; the unmaintained custom-card-helpers dependency is gone.
  • Incremental TypeScript migration begun; pre-2023.9 formatting fallbacks removed.
  • Fixed an uncaught RangeError when typing an incomplete precision/kilo/mega/milli format in the editor.

Credits

This release leans heavily on the community:

Resolves #188, #197, #202, #227, #251, #323, #325, #367 (see also the previously closed #280, #338, #384, #385, #387).

Full Changelog: v4.6.1...v4.7.0