From 7788543e09dc360d04a86f532f21e413d20cd4b1 Mon Sep 17 00:00:00 2001 From: glenn schrooyen Date: Tue, 17 Nov 2026 16:51:41 +0100 Subject: [PATCH] EV-15 review: reflow the _car_own_pause docstring (one 123-char line) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Bdqr7PiaHcBnzPituu2yTC --- goodwe_controller/app/ctl_car.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/goodwe_controller/app/ctl_car.py b/goodwe_controller/app/ctl_car.py index 4114b8b..41615da 100644 --- a/goodwe_controller/app/ctl_car.py +++ b/goodwe_controller/app/ctl_car.py @@ -214,11 +214,11 @@ class CarMixin: return self.car.car_w_trusted(self.car_now()) def _car_own_pause(self, mono) -> bool: - """EV-15: is the car held at 0 A by the add-on's OWN phase change (from - the moment its 0 A write is SENT, the cycle runs beside the write, - until the current is set again, then at most one corroboration window)? No when it was aborted (Off, Stop, shadow, - unplug, another writer), a write was refused, or it ran past its own - maximum.""" + """EV-15: is the car held at 0 A by the add-on's OWN phase change? From + the moment its 0 A write is SENT (the cycle runs beside the write) + until the current is set again, then at most one corroboration window. + No when it was aborted (Off, Stop, shadow, unplug, another writer), a + write was refused, or it ran past its own maximum.""" wr = getattr(self, "car_writer", None) if wr is None or (wr.seq is None and wr.phase_done_at is None and wr.zero_sent_at is None) or wr.hold: