From 00fb31abc08cca16d5f2d1053145e48e9ea0a2e2 Mon Sep 17 00:00:00 2001 From: LKuemmel <76958050+LKuemmel@users.noreply.github.com> Date: Wed, 18 Dec 2024 08:54:33 +0100 Subject: [PATCH] scheduled charging - instant charging: automatic phase switch without soc module (#2047) --- packages/control/ev/charge_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/control/ev/charge_template.py b/packages/control/ev/charge_template.py index 1e90f4d67..2d2bba881 100644 --- a/packages/control/ev/charge_template.py +++ b/packages/control/ev/charge_template.py @@ -286,7 +286,7 @@ def scheduled_charging_recent_plan(self, plan_data_single_phase = self._search_plan( max_current, soc, ev_template, 1, used_amount, charging_type) if plan_data_single_phase: - if plan_data_single_phase.remaining_time > 300: + if plan_data_single_phase.remaining_time > 0: plan_data = plan_data_single_phase else: if charging_type == ChargingType.AC.value: