Support for python-wink 1.0.0 (#5534)

This commit is contained in:
William Scanlon 2017-01-25 00:11:18 -05:00 committed by Paulus Schoutsen
parent 794852f76f
commit 47bbfc309c
7 changed files with 177 additions and 74 deletions

View file

@ -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):