Skip to content

Commit

Permalink
Fix get_info error
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Mulliken committed Apr 29, 2021
1 parent bc458d1 commit 3a40939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
# replace with your username:
name = wyzeapy
version = 0.0.18
version = 0.0.19
author = Mulliken LLC
author_email = [email protected]
description = Python client for private Wyze API
Expand Down
2 changes: 1 addition & 1 deletion src/wyzeapy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def set_color(self, device, rgb_hex_string):
])

def get_info(self, device):
properties = self.client.get_property_list(device)['data']['device_list'][0]['device_property_list']
properties = self.client.get_property_list(device)['data']['property_list']

property_list = []
for property in properties:
Expand Down

0 comments on commit 3a40939

Please sign in to comment.