chore: update miot_lan.py

event_occured -> event_occurred
This commit is contained in:
Ikko Eltociear Ashimine 2025-01-30 14:19:52 +09:00 committed by GitHub
parent 57422ddf0d
commit 36a63a007e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1307,7 +1307,7 @@ class MIoTLan:
self._main_loop.call_soon_threadsafe(
sub.handler, param, sub.handler_ctx)
elif (
msg['method'] == 'event_occured'
msg['method'] == 'event_occurred'
and 'siid' in msg['params']
and 'eiid' in msg['params']
):