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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,