diff --git a/sinric/_events.py b/sinric/_events.py index 70b1d33..9a19c07 100644 --- a/sinric/_events.py +++ b/sinric/_events.py @@ -64,7 +64,7 @@ def jsnHandle(action, deviceId, value, typeI="PHYSICAL_INTERACTION") -> dict: elif event_name == JSON_COMMANDS.get('SETBRIGHTNESS'): queue.put([jsnHandle("setBrightness", deviceId, { - "powerLevel": data.get('brightness') + "brightness": data.get('brightness') }), 'setBrightness_event_response'])