From 2d8a5e8db6f684c61f10d4551f8b531c32fc7c7e Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Tue, 23 Dec 2025 20:37:00 +0100 Subject: [PATCH 1/5] Don't get appliance id twice --- plugwise/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/helper.py b/plugwise/helper.py index 2bd16bf42..994c094fc 100644 --- a/plugwise/helper.py +++ b/plugwise/helper.py @@ -272,7 +272,7 @@ def _appliance_info_finder(self, appl: Munch, appliance: etree.Element) -> Munch def _appl_gateway_info(self, appl: Munch, appliance: etree.Element) -> Munch: """Helper-function for _appliance_info_finder().""" - self._gateway_id = appliance.get("id") + self._gateway_id = appl.entity_id appl.firmware = str(self.smile.version) appl.hardware = self.smile.hw_version appl.mac = self.smile.mac_address From a9135abd06758e9141d94e47207e8373eabde2e0 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Wed, 24 Dec 2025 08:17:53 +0100 Subject: [PATCH 2/5] Get gateway firmware at every update --- plugwise/helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugwise/helper.py b/plugwise/helper.py index 994c094fc..88d80e8b6 100644 --- a/plugwise/helper.py +++ b/plugwise/helper.py @@ -273,7 +273,8 @@ def _appliance_info_finder(self, appl: Munch, appliance: etree.Element) -> Munch def _appl_gateway_info(self, appl: Munch, appliance: etree.Element) -> Munch: """Helper-function for _appliance_info_finder().""" self._gateway_id = appl.entity_id - appl.firmware = str(self.smile.version) + locator = "./gateway/firmware_version" + appl.firmware = self._domain_objects.find(locator).text appl.hardware = self.smile.hw_version appl.mac = self.smile.mac_address appl.model = self.smile.model From 5a4ac4e4faf2ab6b9bf101c2aec5b659e7ce7721 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Wed, 24 Dec 2025 09:52:17 +0100 Subject: [PATCH 3/5] Refresh updated userdata --- .../core.domain_objects.xml | 3699 +++++++++-------- 1 file changed, 2045 insertions(+), 1654 deletions(-) diff --git a/userdata/updated/adam_plus_anna_new/core.domain_objects.xml b/userdata/updated/adam_plus_anna_new/core.domain_objects.xml index 24ff7e482..c25d3f02c 100644 --- a/userdata/updated/adam_plus_anna_new/core.domain_objects.xml +++ b/userdata/updated/adam_plus_anna_new/core.domain_objects.xml @@ -1,9 +1,79 @@ + + Aanvoer water afsluiter (nous lz3) + A device that communicates through the ZigBee protocol. + valve_actuator + 2024-11-11T20:31:49.734+01:00 + 2024-11-15T13:55:19.574+01:00 + + + + + + + + relay + + 2024-11-15T13:55:19.571+01:00 + 2024-11-15T13:55:19.571+01:00 + + + + off + + + + + + 2024-11-15T13:55:19.571+01:00 + false + off + + + + + + _TZ3000_abjodzas + TS0011 + + + + 2024-11-11T20:31:46.189+01:00 + 2024-11-11T20:31:49.706+01:00 + + + + + + + + + + + + A4C13862AF9917B1 + end_device + true + battery + + + + 221 + 1 + parent + + + 2024-11-15T14:07:23+01:00 + true + + + SmartPlug Floor 0 A device that communicates through the ZigBee protocol. - zz_misc + + heater_central 2022-03-11T11:21:58.858+01:00 2022-06-13T15:15:12.921+02:00 2023-12-22T16:18:09.841+01:00 @@ -97,12 +167,98 @@ + + Badkamer + +