From 14b6f9d927859244180dd26cdc71743bbeb940b4 Mon Sep 17 00:00:00 2001 From: John Arild Berentsen Date: Tue, 13 Sep 2016 03:23:18 +0200 Subject: [PATCH] Missing garage door detection (#3349) --- homeassistant/components/cover/wink.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/cover/wink.py b/homeassistant/components/cover/wink.py index a8b90809255a73..a1612b344d2182 100644 --- a/homeassistant/components/cover/wink.py +++ b/homeassistant/components/cover/wink.py @@ -28,8 +28,10 @@ def setup_platform(hass, config, add_devices, discovery_info=None): pywink.set_bearer_token(token) - add_devices(WinkCoverDevice(shade) for shade, door in + add_devices(WinkCoverDevice(shade) for shade in pywink.get_shades()) + add_devices(WinkCoverDevice(door) for door in + pywink.get_garage_doors()) class WinkCoverDevice(WinkDevice, CoverDevice):