Skip to content

Commit

Permalink
Update sengledapi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarmer08 committed Jun 17, 2020
1 parent 9cc9888 commit 6ebceb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/sengledapi/sengledapi/sengledapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def async_list_bulbs(self):
_LOGGER.debug(device)
if "lampInfos" in device:
for device in device["lampInfos"]:
if(device["attributes"]["productCode"] == "E11-G23"):
if(device["attributes"]["productCode"] == "E11-G13"):
bulbs.append(
SengledBulb(
self,
Expand Down Expand Up @@ -113,7 +113,6 @@ async def async_list_bulbs(self):
)
)


return bulbs

async def async_do_request(self, url, payload, accesstoken):
Expand Down

0 comments on commit 6ebceb4

Please sign in to comment.