From 50f476619e62706cbed57f56c3486b5c312d2ec8 Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" 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 2884769d10f56c..cd3fc00ac28ddf 100644 --- a/homeassistant/components/zha/core/channels/lightlink.py +++ b/homeassistant/components/zha/core/channels/lightlink.py @@ -25,7 +25,7 @@ async def async_configure(self) -> None: 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 404e4a8d258c97..5ecce49267c712 100644 --- a/homeassistant/components/zha/core/channels/security.py +++ b/homeassistant/components/zha/core/channels/security.py @@ -363,7 +363,7 @@ async def async_configure(self): 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})