mirror of
https://github.com/home-assistant/core.git
synced 2025-05-25 16:27:07 +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
|
ieee = self.cluster.endpoint.device.application.state.node_info.ieee
|
||||||
|
|
||||||
try:
|
try:
|
||||||
res = await self.write_attributes_safe({"cie_addr": ieee})
|
await self.write_attributes_safe({"cie_addr": ieee})
|
||||||
self.debug(
|
self.debug(
|
||||||
"wrote cie_addr: %s to '%s' cluster: %s",
|
"wrote cie_addr: %s to '%s' cluster",
|
||||||
str(ieee),
|
str(ieee),
|
||||||
self._cluster.ep_attribute,
|
self._cluster.ep_attribute,
|
||||||
res[0],
|
|
||||||
)
|
)
|
||||||
except HomeAssistantError as ex:
|
except HomeAssistantError as ex:
|
||||||
self.debug(
|
self.debug(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user