Skip to content

Commit

Permalink
Merge pull request #15 from jfarmer08/Dev
Browse files Browse the repository at this point in the history
update to typecode
  • Loading branch information
jfarmer08 authored Aug 19, 2020
2 parents f625cf0 + f213407 commit 99300a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion custom_components/sengledapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def async_setup(hass, config):
-------------------------------------------------------------------
Sengled Bulb Home Assistant Integration Created from Config
Version: v0.1-beta.10
Version: v0.1-beta.12
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/jfarmer08/ha-sengledapi
Expand Down
15 changes: 1 addition & 14 deletions custom_components/sengledapi/sengledapi/sengledapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,20 +459,7 @@ async def async_list_bulbs(self):
self._country,
)
)
if devicebulb.type_code == "W11-U31":
bulbs.append(
SengledWifiBulb(
self,
devicebulb.uuid,
devicebulb.name,
devicebulb.switch,
devicebulb.type_code,
devicebulb.brightness,
self._jsession_id,
self._country,
)
)
if devicebulb.type_code == "W11-U21":
if devicebulb.type_code == "wifia19":
bulbs.append(
SengledWifiBulb(
self,
Expand Down

0 comments on commit 99300a7

Please sign in to comment.