Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
Fix a bug on software-2#17
  • Loading branch information
Osamu Koizumi authored Nov 27, 2020
1 parent 3a2b4d5 commit 174f353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nanoleaf/aurora.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def on(self):
@on.setter
def on(self, value: bool):
"""Turns the device on/off. True = on, False = off"""
data = {"on": value}
data = {"on": {"value": value}}
self.__put("state", data)

@property
Expand Down

0 comments on commit 174f353

Please sign in to comment.