Skip to content

v1.13.2

Choose a tag to compare

@alexdelprete alexdelprete released this 19 Apr 00:30
· 27 commits to main since this release
v1.13.2
a62b1a2

Release v1.13.2

GitHub Downloads

Release Date: TBD

Type: Patch release - Completes the 1 W precision fix from v1.13.1 by making
the extra decimal visible in the UI for power sensors.

What's Changed

Fixed

  • Power sensors still displayed with 10 W granularity after v1.13.1 - v1.13.1
    preserved 1 W precision in the stored sensor value (by rounding to 3 decimals
    instead of 2 during the W→kW conversion), but Home Assistant's default display
    precision for the POWER device class caps at base_precision + 2 = 2 decimals
    (see DEFAULT_PRECISION_LIMIT in HA's sensor code), so the extra decimal was
    still being hidden in the UI. The integration now sets
    suggested_display_precision=3 on POWER sensors, which bypasses the cap and
    renders the third decimal (e.g. 0.332 kW instead of 0.33 kW).
  • Correction to v1.13.1 release notes - The v1.13.1 notes claimed HA's
    default display precision for kW/kWh is already 3 decimals. That claim was
    incorrect — the current HA default caps at 2 decimals for both POWER and
    ENERGY device classes.

Scope decision

Only POWER sensors get the 3-decimal override in this release. ENERGY sensors
keep the 2-decimal default on purpose: cumulative kWh totals (often five- or
six-digit values) gain nothing visually from a third decimal, and the stored
value still carries 1 Wh precision for the Energy Dashboard's own aggregation.

Full Changelog:
compare/v1.13.1...v1.13.2