From 50d5ae90d2ebdab4373eaec9349c6f9fe63cafc9 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 16 Nov 2026 15:41:57 +0100 Subject: [PATCH] EV-11: the end of a charging session clears the car-over state at once Co-Authored-By: Claude --- goodwe_controller/app/ctl_car.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/goodwe_controller/app/ctl_car.py b/goodwe_controller/app/ctl_car.py index edd9106..72504b5 100644 --- a/goodwe_controller/app/ctl_car.py +++ b/goodwe_controller/app/ctl_car.py @@ -299,6 +299,9 @@ class CarMixin: if s in (chargers.NONE_,) and self._car_prev_state not in ( None, chargers.NONE_): self._car_over_notified = None + # The session is over: that is a real end, with no hold. + self.car_over = False + self._car_over_since = self._car_over_gone = None if s not in (chargers.NONE_, None) and self._car_prev_state in ( chargers.NONE_, None): self._car_session += 1