Skip to content

Commit

Permalink
Missing garage door detection (home-assistant#3349)
Browse files Browse the repository at this point in the history
  • Loading branch information
turbokongen authored and balloob committed Sep 13, 2016
1 parent d7e3fa2 commit 14b6f9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion homeassistant/components/cover/wink.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 14b6f9d

Please sign in to comment.