From 98a578a2caa5835d55b89fd9805691345dc64486 Mon Sep 17 00:00:00 2001 From: Aruna Tennakoon Date: Tue, 15 Feb 2022 07:56:48 +0700 Subject: [PATCH] Fix #33 --- sinric/_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])