EV-51 round 1: C23 (no spare/target from data the own age calls old), N5 label, T44
car_sun_own now sets spare_w / target_w to None while the step's own meter age
says silent, so no plan start or raise comes from a snapshot value over
meter_max_age_s old; the start comes from a fresh reading after the meter
returns, with its dwell. T44 sweeps a start due just after the silence (red on
68856bc, green now). T24 is labelled N5 and also runs at SoC 50 so the
batteries' setpoints in the silence are compared.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
This commit is contained in:
@@ -432,8 +432,10 @@ class CarMixin:
|
||||
if late is not None and self._car_late_mono is not None:
|
||||
late += max(0.0, now - self._car_late_mono)
|
||||
own.hold = late is not None and late < stale
|
||||
if late is not None and late >= stale:
|
||||
own.spare_w = own.target_w = None # the stale rule, on own late
|
||||
if own.silent or (late is not None and late >= stale):
|
||||
# The stale rule on the step's own age / own late (C23): a spare
|
||||
# read from data the own age calls old starts or raises nothing.
|
||||
own.spare_w = own.target_w = None
|
||||
return own
|
||||
|
||||
async def _car_step_run(self, held, now, sun) -> None:
|
||||
|
||||
Reference in New Issue
Block a user