Skip to content

Commit

Permalink
add an example of the get_prop result
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Oct 2, 2017
1 parent 2447a82 commit 0965c3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mirobo/yeelight.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class YeelightMode(IntEnum):

class YeelightStatus:
def __init__(self, data):
# ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'name', 'lan_ctrl', 'save_state']
# ['on', '100', '3584', '16711680', '359', '100', '2', 'name', '1', '1']
self.data = data

@property
Expand Down

0 comments on commit 0965c3d

Please sign in to comment.