diff --git a/custom_components/mega/http.py b/custom_components/mega/http.py index 36103df..83757a7 100644 --- a/custom_components/mega/http.py +++ b/custom_components/mega/http.py @@ -61,6 +61,8 @@ class MegaView(HomeAssistantView): make_ints(data) port = data.get('pt') data = data.copy() + if 'v' in data: + data['value'] = data.pop('v') data['mega_id'] = hub.id ret = 'd' if port is not None: