Missing garage door detection (#3349)
parent
bc600b8f32
commit
07148fc580
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue