more changes for dictionary unpacking
This commit is contained in:
@@ -92,7 +92,7 @@ class AqaraCube(Hass, Mqtt):
|
||||
except KeyError:
|
||||
return
|
||||
|
||||
def handle_event(self, event_name, data, cb_args):
|
||||
def handle_event(self, event_name, data, **kwargs):
|
||||
data = MQTTResponse.model_validate(data)
|
||||
action = data.payload.action
|
||||
|
||||
|
||||
Reference in New Issue
Block a user