Implement google_assistant ModesTrait for input_select (#36313)

This commit is contained in:
Brynley McDonald authored and GitHub committed 2020-06-01 09:40:47 -07:00
1 parent a333417ddf
commit 47706dac1a
3 files changed
+121 -14

No files matched your search

@@ -8,6 +8,7 @@ from homeassistant.components import (
fan,
group,
input_boolean,
input_select,
light,
lock,
media_player,
@@ -44,6 +45,7 @@ DEFAULT_EXPOSED_DOMAINS = [
"fan",
"group",
"input_boolean",
"input_select",
"light",
"media_player",
"scene",
@@ -113,6 +115,7 @@ DOMAIN_TO_GOOGLE_TYPES = {
fan.DOMAIN: TYPE_FAN,
group.DOMAIN: TYPE_SWITCH,
input_boolean.DOMAIN: TYPE_SWITCH,
input_select.DOMAIN: TYPE_SENSOR,
light.DOMAIN: TYPE_LIGHT,
lock.DOMAIN: TYPE_LOCK,
media_player.DOMAIN: TYPE_SETTOP,