Fix cloud binary_sensor & TTS/STT (#34505)

pull/34542/head
Pascal Vizeli 2020-04-21 17:55:09 +02:00 committed by GitHub
parent 08e74352ec
commit 5f2a9ed965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -190,8 +190,6 @@ async def async_setup(hass, config):
client = CloudClient(hass, prefs, websession, alexa_conf, google_conf)
cloud = hass.data[DOMAIN] = Cloud(client, **kwargs)
await cloud.start()
async def _shutdown(event):
"""Shutdown event."""
await cloud.stop()
@ -233,6 +231,7 @@ async def async_setup(hass, config):
cloud.iot.register_on_connect(_on_connect)
await cloud.start()
await http_api.async_setup(hass)
account_link.async_setup(hass)