From 49dd2904ab7d20167a31b283cb2973aac0e96ecf Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Fri, 28 Jun 2024 12:08:49 +0200 Subject: [PATCH] set charge_point_id --- chargeamps/local.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chargeamps/local.py b/chargeamps/local.py index 7c40974..1477f6e 100644 --- a/chargeamps/local.py +++ b/chargeamps/local.py @@ -49,6 +49,8 @@ def process_message(self, message: str): case 6: assert len(parameters) == 3 self.charge_point_id = parameters[1] + for settings in self.connector_settings: + settings.charge_point_id = self.charge_point_id self.last_updated = parameters[2] case 7: assert len(parameters) == 4