4.6.0
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>andmilli<0-9>number formats, pluskilo<0-9>for an explicit decimal precision override (kiloalone 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
nameoverride 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 diagnosisformat: duration/duration-m/duration-hshowing 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/positionformats losing decimal precision compared to the unformatted value, andkilo/mega/milliprecision 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) andcustom-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