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
The battery projection (_project_energy_kwh / _hours_until_depleted, used by both the switching decisions and the Akku-reicht display) was double-counting the household's deficit whenever available surplus was negative (base load alone exceeding solar -- common at dusk/night). available_surplus is now floored at 0 before subtracting, matching the pattern already used for managed_discharge_kw. Verified against a live scenario with 0 committed devices and negative surplus: projection went from ~7.8h to the correct ~16.3h.