mirror of
https://github.com/home-assistant/core.git
synced 2025-05-23 15:27:09 +00:00
Fix ZHA exception when writing cie_addr
during configuration (#101087)
Fix ZHA exception when writing `cie_addr`
This commit is contained in:
parent
d1347d23de
commit
f5d8d41ad5
@ -369,12 +369,11 @@ class IASZoneClusterHandler(ClusterHandler):
|
||||
ieee = self.cluster.endpoint.device.application.state.node_info.ieee
|
||||
|
||||
try:
|
||||
res = await self.write_attributes_safe({"cie_addr": ieee})
|
||||
await self.write_attributes_safe({"cie_addr": ieee})
|
||||
self.debug(
|
||||
"wrote cie_addr: %s to '%s' cluster: %s",
|
||||
"wrote cie_addr: %s to '%s' cluster",
|
||||
str(ieee),
|
||||
self._cluster.ep_attribute,
|
||||
res[0],
|
||||
)
|
||||
except HomeAssistantError as ex:
|
||||
self.debug(
|
||||
|
Loading…
x
Reference in New Issue
Block a user