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

New device to support option MY in somfy
pull/15278/head
pepeEL 2018-07-03 08:39:42 +02:00 committed by Fabian Affolter
parent 31e23ebae2
commit cd1cfd7e8e
1 changed files with 5 additions and 1 deletions

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')