1
0
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:
Paulus Schoutsen
2018-03-09 19:38:33 -08:00
committed by GitHub
parent 556901ea48
commit 652e0d45a9
2 changed files with 41 additions and 1 deletions

View File

@@ -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,