From 95c14487223eaa0b6600b1d72c0b42f36dbb48ef Mon Sep 17 00:00:00 2001 From: IAmKonni <67658239+IAmKonni@users.noreply.github.com> Date: Sun, 17 Mar 2024 00:16:22 +0100 Subject: [PATCH] Update internal_chargepoint_handler.py This line is wrong and senseless. The number of phases should not been written to the mqtt topic for currents. Currents are already set and written in lines 105 and 106. --- .../internal_chargepoint_handler/internal_chargepoint_handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py b/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py index 6142fab488..8c004ca50a 100644 --- a/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py +++ b/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py @@ -110,7 +110,6 @@ def update_state(self, data: InternalChargepoint, heartbeat_expired: bool) -> No pub.pub_single( f"openWB/set/internal_chargepoint/{self.cp_module.local_charge_point_num}/data/trigger_phase_switch", False) - pub_single(f"openWB/set/chargepoint/{self.hierarchy_id}/set/current", payload=data.phases_to_use) if data.cp_interruption_duration > 0: self.__thread_cp_interruption(data.cp_interruption_duration)