Add support for input boolean to Google Assistant (#13030)
This commit is contained in:
1 parent
6ffc53b290
commit
3c41c0c46e
2 files changed
+41
-1
No files matched your search
@@ -5,6 +5,7 @@ from homeassistant.components import (
|
||||
cover,
|
||||
group,
|
||||
fan,
|
||||
input_boolean,
|
||||
media_player,
|
||||
light,
|
||||
scene,
|
||||
@@ -182,6 +183,7 @@ class OnOffTrait(_Trait):
|
||||
"""Test if state is supported."""
|
||||
return domain in (
|
||||
group.DOMAIN,
|
||||
input_boolean.DOMAIN,
|
||||
switch.DOMAIN,
|
||||
fan.DOMAIN,
|
||||
light.DOMAIN,
|
||||
|
||||
Reference in new issue
Block a user