github ReikanYsora/Helios v1.8.3-alpha.37
v1.8.3-alpha.37: dashboard chart morning gap , LTS calib blended into cumulative + hourly aggregators

pre-release11 hours ago

Build on top of v1.8.3-alpha.36.

Dashboard chart morning gap

Reported by ReikanYsora: the dashboard cumulative chart was painting "0 kWh until ~13 h" while real production started at 6 h. The timeline chart was fine because it already blends _pvCalibStats for its past-portion paint, but the dashboard computeTodayCumulative + computeTodayHourly only walked _pvHistory which is capped at the last 6 h of wall-clock time (HA recorder safety on high-frequency installs).

Fix:

  • computeTodayCumulative now merges _pvCalibStats samples for the morning portion before the raw window's first timestamp. The raw window still owns the present tail; LTS rows are dropped once they cross into the raw window so the two sources never paint over the same hour.
  • computeTodayHourly extracts an addPowerSample helper that both the LTS branch and the raw branch funnel through. The LTS branch differentiates cumulative state with neighbour pairs, falls back to the hourly mean for power entities, identical shapes to elsewhere in the codebase.

Result: the dashboard chart covers the full local day from 00 h to "now" regardless of when the user opens the card, and the PIC RÉEL reading lands on the real peak even if the raw window has slid past it.

Test plan

  • Open the card at 22 h, dashboard chart should cover full day from 00 h with morning production visible.
  • PIC RÉEL should land on the real peak (e.g., 14 h) even if "now" is 22 h.

Don't miss a new Helios release

NewReleases is sending notifications on new releases.