Support for python-wink 1.0.0 (#5534)
This commit is contained in:
parent
794852f76f
commit
47bbfc309c
7 changed files with 177 additions and 74 deletions
|
@ -23,7 +23,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
"""Setup the Wink lights."""
|
||||
import pywink
|
||||
|
||||
add_devices(WinkLight(light, hass) for light in pywink.get_bulbs())
|
||||
add_devices(WinkLight(light, hass) for light in pywink.get_light_bulbs())
|
||||
|
||||
|
||||
class WinkLight(WinkDevice, Light):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue