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
2 changes: 1 addition & 1 deletion packages/control/chargepoint/chargepoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _is_manual_lock_inactive(self) -> Tuple[bool, Optional[str]]:
if ((self.data.get.rfid is not None and fnmatch(self.data.get.rfid, tag_id)) or
(self.data.get.vehicle_id is not None and fnmatch(self.data.get.vehicle_id, tag_id)) or
(self.data.set.rfid is not None and fnmatch(self.data.set.rfid, tag_id))):
Pub().pub(f"openWB/svet/chargepoint/{self.num}/set/manual_lock", False)
Pub().pub(f"openWB/set/chargepoint/{self.num}/set/manual_lock", False)
# Wenn der Ladepunkt nach dem Abstecken gesperrt werden soll, und kein Fahrzeug angeschlossen ist wird gesperrt
if self.template.data.disable_after_unplug and self.data.get.plug_state is False:
Pub().pub(f"openWB/set/chargepoint/{self.num}/set/manual_lock", True)
Expand Down