Skip to content

Commit

Permalink
Ignore write_ack command
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Dec 7, 2020
1 parent e781c62 commit 7466b6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/xiaomi_gateway3/core/gateway3.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ def process_message(self, data: dict):
pkey = 'params' if 'params' in data else 'mi_spec'
elif data['cmd'] in ('write_rsp', 'read_rsp'):
pkey = 'results'
elif data['cmd'] == 'write_ack':
return
else:
_LOGGER.warning(f"Unsupported cmd: {data}")
return
Expand Down

0 comments on commit 7466b6f

Please sign in to comment.