Merge hotfix-0.20.1 (TEST-37 #231) into release-0.20.1
checks / unit (pull_request) Successful in 21m40s
infra-pin / fresh (pull_request) Successful in 2s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude review
2026-11-05 13:58:02 +01:00
+4 -1
View File
@@ -347,7 +347,6 @@ def run_night(spec):
async def go():
cur = store
c = build(cur)
real_dt, real_hv = m.datetime, homeview.datetime
class _DT(real_dt):
@@ -357,6 +356,10 @@ def run_night(spec):
m.datetime = homeview.datetime = _DT
try:
# TEST-37: built under the scenario's clock, not the real one:
# Controller.__init__ checks a stored latch's end against now().
clock[0] = start
c = build(cur)
for t_pre in EVENING:
clock[0] = t_pre
await c._read_forecast()