EV-11: the end of a charging session clears the car-over state at once
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user