Skip to content

Commit 992d8ce

Browse files
committed
fix retry failed phase switches (#2488)
1 parent 42e35e7 commit 992d8ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/control/chargepoint/chargepoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ def _is_phase_switch_required(self) -> bool:
371371
self.set_state_and_log(
372372
"Keine Phasenumschaltung, da die maximale Anzahl an Fehlversuchen erreicht wurde. Die "
373373
"aktuelle Phasenzahl wird bis zum Abstecken beibehalten.")
374+
self.data.control_parameter.failed_phase_switches += 1
374375
else:
375376
# Umschaltung vor Ladestart zulassen
376377
if self.data.set.log.imported_since_plugged != 0:

0 commit comments

Comments
 (0)