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
|
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):
|
||||||
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})
|
||||||
|
|
Loading…
Reference in New Issue