We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dff064 commit 20d3363Copy full SHA for 20d3363
1 file changed
packages/control/chargepoint/chargepoint.py
@@ -561,6 +561,7 @@ def hw_bidi_capable(self) -> BidiState:
561
562
def set_phases(self, phases: int) -> int:
563
charging_ev = self.data.set.charging_ev_data
564
+ phases = min(phases, self.get_max_phase_hw())
565
566
if phases != self.data.get.phases_in_use:
567
# Wenn noch kein Eintrag im Protokoll erstellt wurde, wurde noch nicht geladen und die Phase kann noch
0 commit comments