Skip to content

Commit

Permalink
Merge branch 'openWB:master' into Huawai-Modbus-RTU
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrsnhs authored Dec 18, 2024
2 parents 51326d3 + 00fb31a commit 2b60e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/control/ev/charge_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2b60e32

Please sign in to comment.