Add support for input boolean to Google Assistant (#13030)
This commit is contained in:
parent
556901ea48
commit
652e0d45a9
2 changed files with 41 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue