Python wink update (#15048)

* Updated python-wink to 1.9.0

* Added support for groups of Wink shades.
pull/15072/head
William Scanlon 2018-06-20 09:41:28 -04:00 committed by Paulus Schoutsen
parent 75580dfade
commit 6bc03ee763
3 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,10 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
_id = shade.object_id() + shade.name()
if _id not in hass.data[DOMAIN]['unique_ids']:
add_devices([WinkCoverDevice(shade, hass)])
for shade in pywink.get_shade_groups():
_id = shade.object_id() + shade.name()
if _id not in hass.data[DOMAIN]['unique_ids']:
add_devices([WinkCoverDevice(shade, hass)])
for door in pywink.get_garage_doors():
_id = door.object_id() + door.name()
if _id not in hass.data[DOMAIN]['unique_ids']:

View File

@ -26,7 +26,7 @@ from homeassistant.helpers.entity_component import EntityComponent
from homeassistant.helpers.event import track_time_interval
from homeassistant.util.json import load_json, save_json
REQUIREMENTS = ['python-wink==1.8.0', 'pubnubsub-handler==1.0.2']
REQUIREMENTS = ['python-wink==1.9.0', 'pubnubsub-handler==1.0.2']
_LOGGER = logging.getLogger(__name__)

View File

@ -1098,7 +1098,7 @@ python-velbus==2.0.11
python-vlc==1.1.2
# homeassistant.components.wink
python-wink==1.8.0
python-wink==1.9.0
# homeassistant.components.sensor.swiss_public_transport
python_opendata_transport==0.1.3