Add some tests to the cloud component (#11460)

This commit is contained in:
Paulus Schoutsen 2018-01-04 21:40:18 -08:00 committed by GitHub
parent 35f35050ff
commit b7c7041873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 3 deletions

View file

@ -212,8 +212,8 @@ def async_handle_alexa(hass, cloud, payload):
@HANDLERS.register('google_actions')
@asyncio.coroutine
def async_handle_google_assistant(hass, cloud, payload):
"""Handle an incoming IoT message for Google Assistant."""
def async_handle_google_actions(hass, cloud, payload):
"""Handle an incoming IoT message for Google Actions."""
result = yield from ga.async_handle_message(hass, cloud.gass_config,
payload)
return result