Cleanup ZHA from Zigpy deprecated property removal (#91180)
parent
e8142987a7
commit
0fee49a32e
|
@ -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
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue