Skip to content

Commit

Permalink
Merge pull request #36 from sinricpro/2.5.2
Browse files Browse the repository at this point in the history
Fix #33
  • Loading branch information
kakopappa authored Feb 15, 2022
2 parents cec1b59 + 98a578a commit 7ae9ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sinric/_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])


Expand Down

0 comments on commit 7ae9ba3

Please sign in to comment.