Missing garage door detection (#3349)

pull/3359/head
John Arild Berentsen 2016-09-13 03:23:18 +02:00 committed by Paulus Schoutsen
parent bc600b8f32
commit 07148fc580
1 changed files with 3 additions and 1 deletions

View File

@ -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):