Skip to content

4.6.0

Choose a tag to compare

@jpettitt jpettitt released this 02 Jul 02:02

Maintenance note

I've picked up maintenance of this project. My priority for the near term is working through the backlog of confirmed bugs before picking up new feature requests — thanks for your patience, and especially to everyone whose detailed bug reports, repro configs, and PRs made several of these fixes possible.

What's new

  • mega<0-9> and milli<0-9> number formats, plus kilo<0-9> for an explicit decimal precision override (kilo alone is unchanged, still backward compatible):
    - entity: sensor.power_usage
      type: custom:multiple-entity-row
      format: kilo3   # e.g. 1500.256 W -> 1.500 kW (set unit: kW yourself if you want the label to match)

Fixed

  • name override not applying on the main row on HA 2026.2+ until an unrelated entity update forced a re-render (#370, #371) — thanks @d3relict for the diagnosis
  • format: duration/duration-m/duration-h showing the literal string "null" for a zero-second value (#240)
  • Numeric formats (brightness, precision, kilo, invert, position, celsius/fahrenheit conversion) showing the literal string "undefined" for a missing attribute (#225)
  • invert/position formats losing decimal precision compared to the unformatted value, and kilo/mega/milli precision handling generally (#304) — thanks @Jueff for the original kilo/mega idea
  • A long-standing cluster of decimal/currency/precision formatting bugs (#333, #308, #286, #220, #375, #363, #357, #320), by switching to Home Assistant's own official formatting functions when available (HA 2023.9+) — thanks @mill1000 for the approach
  • Console spammed with errors for monetary sensors using a non-currency unit like "c/kWh" (#324)
  • Missing-attribute display showing "undefined" on older HA versions without the official formatting functions

Internal (no action needed, but relevant if you build from source)

  • Added a real test suite (100+ tests), CI, and automated release tooling — the built JS file is no longer manually committed per release, it's built and attached automatically by CI
  • Bumped lit (2→3) and custom-card-helpers (1.8→2.0) — bundled into the built file, doesn't affect how you install or use the card
  • Fixed 57 known vulnerabilities (4 critical) in the dev/build toolchain

Full Changelog: v4.5.1...v4.6.0