Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/control/ev/ev.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def get_required_current(self,
# Wenn Zielladen auf Überschuss wartet, prüfen, ob Zeitladen aktiv ist.
if (submode != "instant_charging" and
charge_template.data.time_charging.active):
tmp_current, tmp_submode, tmp_message, plan_id, phases = charge_template.time_charging(
tmp_current, tmp_submode, tmp_message, plan_id, tmp_phases = charge_template.time_charging(
self.data.get.soc,
imported_since_plugged,
charging_type
Expand All @@ -195,6 +195,7 @@ def get_required_current(self,
control_parameter.current_plan = plan_id
required_current = tmp_current
submode = tmp_submode
phases = tmp_phases
if (required_current == 0) or (required_current is None):
if charge_template.data.chargemode.selected == "instant_charging":
required_current, submode, tmp_message, phases = charge_template.instant_charging(
Expand Down