1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Added vacuum dock and pause/unpause traits (#17657)

This commit is contained in:
Mariusz Łuciów
2018-10-26 23:02:07 +02:00
committed by Paulus Schoutsen
parent 9f146a3954
commit cfbd84f450
4 changed files with 174 additions and 3 deletions

View File

@@ -19,11 +19,13 @@ from homeassistant.components import (
scene,
script,
switch,
vacuum,
)
from . import trait
from .const import (
TYPE_LIGHT, TYPE_SCENE, TYPE_SWITCH, TYPE_THERMOSTAT,
TYPE_LIGHT, TYPE_SCENE, TYPE_SWITCH, TYPE_VACUUM,
TYPE_THERMOSTAT,
CONF_ALIASES, CONF_ROOM_HINT,
ERR_NOT_SUPPORTED, ERR_PROTOCOL_ERROR, ERR_DEVICE_OFFLINE,
ERR_UNKNOWN_ERROR
@@ -44,6 +46,7 @@ DOMAIN_TO_GOOGLE_TYPES = {
scene.DOMAIN: TYPE_SCENE,
script.DOMAIN: TYPE_SCENE,
switch.DOMAIN: TYPE_SWITCH,
vacuum.DOMAIN: TYPE_VACUUM,
}