From 82c74a2e6e52b35ecb53dbb7eca52e9e45e1df10 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Fri, 28 Jun 2024 12:19:39 +0200 Subject: [PATCH] fix --- chargeamps/local.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chargeamps/local.py b/chargeamps/local.py index 1477f6e..fa7f509 100644 --- a/chargeamps/local.py +++ b/chargeamps/local.py @@ -70,7 +70,7 @@ class LocalChargePointStateHalo(LocalChargePointStateBase): ChargePointConnectorSettings( charge_point_id="", connector_id=0, - mode=str(ChargePointConnectorMode.OFF), + mode=ChargePointConnectorMode.OFF.value, rfid_lock=False, cable_lock=False, max_current=None, @@ -78,7 +78,7 @@ class LocalChargePointStateHalo(LocalChargePointStateBase): ChargePointConnectorSettings( charge_point_id="", connector_id=1, - mode=str(ChargePointConnectorMode.OFF), + mode=ChargePointConnectorMode.OFF.value, rfid_lock=False, cable_lock=False, max_current=None, @@ -122,7 +122,7 @@ class LocalChargePointStateAura(LocalChargePointStateBase): ChargePointConnectorSettings( charge_point_id="", connector_id=0, - mode=str(ChargePointConnectorMode.OFF), + mode=ChargePointConnectorMode.OFF.value, rfid_lock=False, cable_lock=False, max_current=None, @@ -130,7 +130,7 @@ class LocalChargePointStateAura(LocalChargePointStateBase): ChargePointConnectorSettings( charge_point_id="", connector_id=1, - mode=str(ChargePointConnectorMode.OFF), + mode=ChargePointConnectorMode.OFF.value, rfid_lock=False, cable_lock=False, max_current=None,