1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Changing handling for google_assistant groups to treat them as lights. (#10111)

* Fixed aliases warning message

* Fixed test cases

* Changing handling for google_assistant groups to treat them as lights - amending to include user info.

* Enable brightness, RGB, etc for groups in Google Assistant

* Revert color/hue/temp settings

* Change servce from light to homeassistant

* Fixed config_units

* Convert from light to switch

* Change group to switch

* Update tests to switch instead of light for group
This commit is contained in:
Zach
2017-11-28 00:43:01 -05:00
committed by Paulus Schoutsen
parent 0668fba7bd
commit 282e37ef14
3 changed files with 16 additions and 13 deletions

View File

@@ -133,6 +133,8 @@ class GoogleAssistantView(HomeAssistantView):
(service, service_data) = determine_service(
eid, execution.get('command'), execution.get('params'),
hass.config.units)
if domain == "group":
domain = "homeassistant"
success = yield from hass.services.async_call(
domain, service, service_data, blocking=True)
result = {"ids": [eid], "states": {}}