Updated python-wink to 0.4.0
This commit is contained in:
parent
17dd8ddc9a
commit
2803631906
6 changed files with 7 additions and 8 deletions
|
@ -11,7 +11,7 @@ import logging
|
|||
from homeassistant.components.wink import WinkToggleDevice
|
||||
from homeassistant.const import CONF_ACCESS_TOKEN
|
||||
|
||||
REQUIREMENTS = ['python-wink==0.3.1']
|
||||
REQUIREMENTS = ['python-wink==0.4.0']
|
||||
|
||||
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
@ -30,5 +30,4 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
pywink.set_bearer_token(token)
|
||||
|
||||
add_devices(WinkToggleDevice(switch) for switch in pywink.get_switches())
|
||||
add_devices(WinkToggleDevice(switch) for switch in
|
||||
pywink.get_powerstrip_outlets())
|
||||
add_devices(WinkToggleDevice(switch) for switch in pywink.get_powerstrip_outlets())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue