github rwoldberg/ldata-ha v2.0.2
Total Daily fixes

10 hours ago

The following changes mostly brings 'Panel' and 'CT' sensors ito the same fixes done for Websocket stream handling that 'Breakers' had received

Panel Total Daily Energy:

  • Fixed solar inflation: panel total now always sums consumption per breaker instead of using import for solar breakers, which was double-counting solar production
  • Added panel_energy_key parameter — creates two panel-level sensors: 'Total Daily Energy' (consumption) and 'Total Daily Import' (import)
  • Added monotonic guard with 5-minute timeout (intended to protect from sudden daily value drops caused by incomplete Websocket values)

CT Daily Energy:

  • Added dual-mode support: auto-detects hw counters vs power×time fallback for older firmware compatibility
  • Added monotonic guard with 5-minute timeout (intended to protect from sudden daily value drops caused by incomplete Websocket values)

Breaker Daily Energy:

  • Added monotonic guard with 5-minute timeout (intended to protect from sudden daily value drops caused by incomplete Websocket values)

-NOTE-
There is a high chance of 'Total Daily' values resetting on upgrade, If you are paricualr on the matter it's advised to run near the end of day.

There is also an experimental actions under Developers > Actions called "Reset energy sensor baseline" the intention is to be able to correct a Daily reset if one occurs.

Don't miss a new ldata-ha release

NewReleases is sending notifications on new releases.