Skip to content

Commit

Permalink
Cleanup ZHA from Zigpy deprecated property removal (home-assistant#91180
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dmulcahey authored and tetele committed Apr 11, 2023
1 parent 085a48e commit 50f4766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/zha/core/channels/lightlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/zha/core/channels/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 50f4766

Please sign in to comment.