Skip to content
Snippets Groups Projects
Unverified Commit 0fee49a3 authored by David F. Mulcahey's avatar David F. Mulcahey Committed by GitHub
Browse files

Cleanup ZHA from Zigpy deprecated property removal (#91180)

parent e8142987
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ class LightLink(ZigbeeChannel): ...@@ -25,7 +25,7 @@ class LightLink(ZigbeeChannel):
application = self._ch_pool.endpoint.device.application application = self._ch_pool.endpoint.device.application
try: try:
coordinator = application.get_device(application.ieee) coordinator = application.get_device(application.state.node_info.ieee)
except KeyError: except KeyError:
self.warning("Aborting - unable to locate required coordinator device.") self.warning("Aborting - unable to locate required coordinator device.")
return return
......
...@@ -363,7 +363,7 @@ class IASZoneChannel(ZigbeeChannel): ...@@ -363,7 +363,7 @@ class IASZoneChannel(ZigbeeChannel):
self.debug("started IASZoneChannel configuration") self.debug("started IASZoneChannel configuration")
await self.bind() await self.bind()
ieee = self.cluster.endpoint.device.application.ieee ieee = self.cluster.endpoint.device.application.state.node_info.ieee
try: try:
res = await self._cluster.write_attributes({"cie_addr": ieee}) res = await self._cluster.write_attributes({"cie_addr": ieee})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment