New device to support option MY in somfy (#15272)

New device to support option MY in somfy
This commit is contained in:
pepeEL 2018-07-03 08:39:42 +02:00 committed by Fabian Affolter
parent 31e23ebae2
commit cd1cfd7e8e

View file

@ -81,7 +81,11 @@ class TahomaCover(TahomaDevice, CoverDevice):
self.apply_action('setPosition', 'secured')
elif self.tahoma_device.type in \
('rts:BlindRTSComponent',
'io:ExteriorVenetianBlindIOComponent'):
'io:ExteriorVenetianBlindIOComponent',
'rts:VenetianBlindRTSComponent',
'rts:DualCurtainRTSComponent',
'rts:ExteriorVenetianBlindRTSComponent',
'rts:BlindRTSComponent'):
self.apply_action('my')
else:
self.apply_action('stopIdentify')