mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-15 22:10:43 +08:00
Compare commits
2 Commits
dd333eb7e7
...
35d9fa60e6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35d9fa60e6 | ||
|
|
0caa1b566a |
@ -1213,10 +1213,12 @@ class MipsLocalClient(_MipsClient):
|
||||
or 'did' not in msg
|
||||
or 'siid' not in msg
|
||||
or 'eiid' not in msg
|
||||
or 'arguments' not in msg
|
||||
# or 'arguments' not in msg
|
||||
):
|
||||
# self.log_error(f'on_event_msg, recv unknown msg, {payload}')
|
||||
return
|
||||
if 'arguments' not in msg:
|
||||
msg['arguments'] = []
|
||||
if handler:
|
||||
self.log_debug('local, on event_occurred, %s', payload)
|
||||
handler(msg, ctx)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user