mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-17 23:50:42 +08:00
chore: update miot_lan.py
event_occured -> event_occurred
This commit is contained in:
parent
57422ddf0d
commit
36a63a007e
@ -1307,7 +1307,7 @@ class MIoTLan:
|
|||||||
self._main_loop.call_soon_threadsafe(
|
self._main_loop.call_soon_threadsafe(
|
||||||
sub.handler, param, sub.handler_ctx)
|
sub.handler, param, sub.handler_ctx)
|
||||||
elif (
|
elif (
|
||||||
msg['method'] == 'event_occured'
|
msg['method'] == 'event_occurred'
|
||||||
and 'siid' in msg['params']
|
and 'siid' in msg['params']
|
||||||
and 'eiid' in msg['params']
|
and 'eiid' in msg['params']
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user