diff --git a/custom_components/xiaomi_home/miot/miot_mips.py b/custom_components/xiaomi_home/miot/miot_mips.py index 2187488..962eaad 100644 --- a/custom_components/xiaomi_home/miot/miot_mips.py +++ b/custom_components/xiaomi_home/miot/miot_mips.py @@ -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)