You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(execute): stop the status detail repeating the headline state
The dashboard showed "Exporting target Exporting 19%-5%" - the status label
twice. #4466 began prefixing each per-inverter detail segment with that
inverter's own state so a mixed fleet could be read, but the detail text is
appended directly to the headline status, so on any system whose inverters agree
the label is simply repeated. A single-inverter install saw it on every
Charging/Exporting/Freeze/Hold status.
Defer assembly of the detail text until after the headline status is resolved and
emit the per-segment label only when the segments actually differ. A fleet acting
in unison, and every single-inverter install, gets the pre-#4466 text back; a
mixed fleet keeps the labels that made #4466 worth doing - all three existing
mixed-fleet assertions are unchanged.
Every end-to-end case in test_execute.py runs two inverters, which is why the
single-inverter rendering shipped broken with no test failing. Add direct
build_status_extra() coverage plus a single-inverter export case; both were
confirmed to fail against the pre-fix behaviour.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
self.log("Export Hold (Demand mode) as export is now at/below target or freeze only is set - current SoC {}kWh and target {}kWh".format(self.soc_kw, discharge_soc))
469
492
else:
@@ -691,6 +714,7 @@ def execute_plan(self):
691
714
# Resolve the headline status across all inverters rather than leaving whichever inverter was
0 commit comments