OPT-23-28 review: the unheld-shortfall line says another battery or the grid
checks / unit (pull_request) Successful in 50m6s
infra-pin / fresh (pull_request) Successful in 1s

With A on Leftover solar and B on Cheap hours (the dynamic scenario, and the
owner's planned setup), the line said "The batteries cannot hold it all. The
grid covers N kWh", while B holds a full charge for the same hours. It now
says "The expensive hours need more than Leftover solar can hold. The rest,
N kWh, comes from another battery or the grid." (NL likewise). DOCS,
DECISIONS and the dayplan/homeview docstrings say the same. Text only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bdqr7PiaHcBnzPituu2yTC
This commit is contained in:
glenn schrooyen
2026-10-29 23:21:31 +01:00
co-authored by Claude Opus 5.5
parent 995028bc5d
commit ae0cd542c0
7 changed files with 19 additions and 15 deletions
+2 -1
View File
@@ -1446,7 +1446,8 @@ def line_solar(fc_kwh, count_kwh, at) -> str:
def line_uncovered(kwh) -> str:
"""OPT-28: the batteries cannot hold the expensive hours' shortfall."""
"""OPT-28: the Leftover solar batteries cannot hold the expensive hours'
shortfall. The rest comes from another battery or the grid."""
return _t("solar.uncovered", kwh=_kwh(kwh))