Skip to content

Commit 2aaec34

Browse files
authored
ammend (#2972)
1 parent f0e96f4 commit 2aaec34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/control/chargepoint

packages/control/chargepoint/rfid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _validate_rfid(self) -> None:
6666
if self.template.data.disable_after_unplug:
6767
self.data.set.manual_lock = True
6868
Pub().pub("openWB/set/chargepoint/"+str(self.num)+"/set/manual_lock", True)
69-
if self.template.data.load_default:
69+
if self.data.set.charging_ev_data.charge_template.data.load_default:
7070
self.data.config.ev = 0
7171
Pub().pub(f"openWB/set/chargepoint/{self.num}/config", asdict(self.data.config))
7272
Pub().pub(f"openWB/set/chargepoint/{self.num}/get/rfid_timestamp", None)

0 commit comments

Comments
 (0)