From 0fee49a32e1ad5e6fb44a59c0df2ba33016c99a1 Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" <david.mulcahey@me.com> Date: Mon, 10 Apr 2023 14:16:11 -0400 Subject: [PATCH] Cleanup ZHA from Zigpy deprecated property removal (#91180) --- homeassistant/components/zha/core/channels/lightlink.py | 2 +- homeassistant/components/zha/core/channels/security.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/zha/core/channels/lightlink.py b/homeassistant/components/zha/core/channels/lightlink.py index 2884769d10f..cd3fc00ac28 100644 --- a/homeassistant/components/zha/core/channels/lightlink.py +++ b/homeassistant/components/zha/core/channels/lightlink.py @@ -25,7 +25,7 @@ class LightLink(ZigbeeChannel): application = self._ch_pool.endpoint.device.application try: - coordinator = application.get_device(application.ieee) + coordinator = application.get_device(application.state.node_info.ieee) except KeyError: self.warning("Aborting - unable to locate required coordinator device.") return diff --git a/homeassistant/components/zha/core/channels/security.py b/homeassistant/components/zha/core/channels/security.py index 404e4a8d258..5ecce49267c 100644 --- a/homeassistant/components/zha/core/channels/security.py +++ b/homeassistant/components/zha/core/channels/security.py @@ -363,7 +363,7 @@ class IASZoneChannel(ZigbeeChannel): self.debug("started IASZoneChannel configuration") await self.bind() - ieee = self.cluster.endpoint.device.application.ieee + ieee = self.cluster.endpoint.device.application.state.node_info.ieee try: res = await self._cluster.write_attributes({"cie_addr": ieee}) -- GitLab