diff --git a/homeassistant/components/cover/wink.py b/homeassistant/components/cover/wink.py index 093ccd43473..7f7a3a11644 100644 --- a/homeassistant/components/cover/wink.py +++ b/homeassistant/components/cover/wink.py @@ -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']: diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index e4dfc17246a..7016250c6b1 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -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__) diff --git a/requirements_all.txt b/requirements_all.txt index 9b887ec388b..b8587b9df2b 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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