mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
add 2 devices (#14321)
* add 2 devices io:RollerShutterUnoIOComponent io:ExteriorVenetianBlindIOComponent * add 2 devices * Update tahoma.py * Fix hounci-bot violation * Fixed Travis CI build failure ./homeassistant/components/cover/tahoma.py:83:13: E125 continuation line with same indent as next logical line * Fixed Travis CI build failure E125 continuation line with same indent as next logical line * Fixed Travis CI build failure E127 continuation line over-indented for visual indent * Fix indent * Change check
This commit is contained in:
parent
230bd3929c
commit
4343659742
@ -79,7 +79,9 @@ class TahomaCover(TahomaDevice, CoverDevice):
|
||||
if self.tahoma_device.type == \
|
||||
'io:RollerShutterWithLowSpeedManagementIOComponent':
|
||||
self.apply_action('setPosition', 'secured')
|
||||
elif self.tahoma_device.type == 'rts:BlindRTSComponent':
|
||||
elif self.tahoma_device.type in \
|
||||
('rts:BlindRTSComponent',
|
||||
'io:ExteriorVenetianBlindIOComponent'):
|
||||
self.apply_action('my')
|
||||
else:
|
||||
self.apply_action('stopIdentify')
|
||||
|
@ -40,6 +40,8 @@ TAHOMA_TYPES = {
|
||||
'rts:CurtainRTSComponent': 'cover',
|
||||
'rts:BlindRTSComponent': 'cover',
|
||||
'rts:VenetianBlindRTSComponent': 'cover',
|
||||
'io:ExteriorVenetianBlindIOComponent': 'cover',
|
||||
'io:RollerShutterUnoIOComponent': 'cover',
|
||||
'io:RollerShutterWithLowSpeedManagementIOComponent': 'cover',
|
||||
'io:RollerShutterVeluxIOComponent': 'cover',
|
||||
'io:RollerShutterGenericIOComponent': 'cover',
|
||||
|
Loading…
x
Reference in New Issue
Block a user