Tahoma switches (#13636)

* Added the ability to switch Tahoma Garage door relay.

Those are special switches that can only be pushed.
Their state is always OFF, they react to the turn_on action, perform it, but stay OFF

* fixing indents and so on

* CI fix
This commit is contained in:
ikucuze authored and Fabian Affolter committed 2018-04-05 18:56:09 +02:00
1 parent 4008bf5611
commit e6006e9beb
2 files changed
+53 -1

No files matched your search

+2 -1
View File
@@ -32,7 +32,7 @@ CONFIG_SCHEMA = vol.Schema({
}, extra=vol.ALLOW_EXTRA)
TAHOMA_COMPONENTS = [
'scene', 'sensor', 'cover'
'scene', 'sensor', 'cover', 'switch'
]
TAHOMA_TYPES = {
@@ -43,6 +43,7 @@ TAHOMA_TYPES = {
'io:RollerShutterGenericIOComponent': 'cover',
'io:WindowOpenerVeluxIOComponent': 'cover',
'io:LightIOSystemSensor': 'sensor',
'rts:GarageDoor4TRTSComponent': 'switch',
}