mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add support for input boolean to Google Assistant (#13030)
This commit is contained in:
@@ -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