more changes for dictionary unpacking

This commit is contained in:
John Lancaster
2024-08-27 19:14:26 -05:00
parent a8e0b53c53
commit 4114fb4c54
8 changed files with 26 additions and 386 deletions

View File

@@ -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