Skip to content

Commit 478614a

Browse files
committed
Define appl.model_id for P1
1 parent 39e0204 commit 478614a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

plugwise/helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ def _p1_smartmeter_info_finder(self, appl: Munch) -> None:
352352
appl.location = loc_id
353353
appl.mac = None
354354
appl.model = self._domain_objects.find("./gateway/vendor_model").text
355+
appl.model_id = None
355356
appl.name = "P1"
356357
appl.pwclass = "smartmeter"
357358
appl.zigbee_mac = None

plugwise/legacy/helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ def _p1_smartmeter_info_finder(self, appl: Munch) -> None:
247247
appl.location = loc_id
248248
appl.mac = None
249249
appl.model = self.smile_model
250+
appl.model_id = None
250251
appl.name = "P1"
251252
appl.pwclass = "smartmeter"
252253
appl.zigbee_mac = None

0 commit comments

Comments
 (0)