Build on top of v1.8.3-alpha.28.
Multi-source PV live aggregation (Phase 1 / 2)
Credit to LBDG_ on the community Discord for the diagnosis.
Installs with several solar sources declared in HA Energy (typically split E / W arrays each declared as its own solar source) were only ever showing the FIRST entity in the chip, the tooltip, and the dashboard headline, because resolvePvLiveEntity collapsed the multi-source list down to [0]. The comment block at the top of the resolver already flagged the collapse as a known follow-up; this is that follow-up's first half.
refreshPv now sums the live W across every wired source when the HA Energy defaults expose more than one solar entity. Each entity is normalised through pvNormalizeToWatts (W / kW / MW collapse to W), the totals are summed, and the canonical _pvCurrent / _pvUnit slots are updated as if a single power-native sensor. The rolling sample buffer tracks the same aggregated value.
History fetch + scrub-past + the chart curve stay single-entity until the recorder + interpolation refactor that turns _pvHistory into a summed series lands. The tail-extension on _pvHistory is gated on single-entity mode so the historical curve doesn't get a visible jump where the single-entity past meets the multi-entity live tip.
Test plan
- Single-source install: chip, tooltip, dashboard, chart, scrub-past all unchanged (no regression).
- Multi-source install: chip + tooltip + dashboard headline now reflect the SUM of every wired solar source. Chart curve + scrub-past still show the primary source (Phase 2).