Raise exception instead of hide in logs on zha write (#93571)
Raise exception instead of hide in logs Write request that failed parsing of data would fail, yet display as successful in the gui.
This commit is contained in:
parent
1f0e235b99
commit
9aed5a47ae
2 changed files with 19 additions and 12 deletions
|
@ -1302,6 +1302,9 @@ def async_load_api(hass: HomeAssistant) -> None:
|
|||
cluster_type=cluster_type,
|
||||
manufacturer=manufacturer,
|
||||
)
|
||||
else:
|
||||
raise ValueError(f"Device with IEEE {str(ieee)} not found")
|
||||
|
||||
_LOGGER.debug(
|
||||
(
|
||||
"Set attribute for: %s: [%s] %s: [%s] %s: [%s] %s: [%s] %s: [%s] %s:"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue