Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions zha/zigbee/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,9 @@ async def issue_cluster_command(
return # client commands don't return a response
if isinstance(response, Exception):
raise ZHAException("Failed to issue cluster command") from response
if not isinstance(response, tuple) or len(response) < 2:
_LOGGER.warning("Received unknown/unsupported response: %s", response)
return # ignore this response instead of failing
if response[1] is not ZclStatus.SUCCESS:
raise ZHAException(
f"Failed to issue cluster command with status: {response[1]}"
Expand Down
Loading