Add Google Report State (#27112)

* Add Google Report State

* UPDATE codeowners"

* Add config option for dev mode

* update library

* lint

* Bug fixes
This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2019-10-03 13:02:38 +02:00
1 parent 3e99743244
commit f184bf4d85
26 files changed
+510 -56

No files matched your search

@@ -1,6 +1,7 @@
"""The tests for google-assistant init."""
import asyncio
from homeassistant.core import Context
from homeassistant.setup import async_setup_component
from homeassistant.components import google_assistant as ga
@@ -20,7 +21,10 @@ def test_request_sync_service(aioclient_mock, hass):
assert aioclient_mock.call_count == 0
yield from hass.services.async_call(
ga.const.DOMAIN, ga.const.SERVICE_REQUEST_SYNC, blocking=True
ga.const.DOMAIN,
ga.const.SERVICE_REQUEST_SYNC,
blocking=True,
context=Context(user_id="123"),
)
assert aioclient_mock.call_count == 1