Fix cloud binary_sensor & TTS/STT (#34505)

pull/34517/head
Pascal Vizeli 2020-04-21 17:55:09 +02:00 committed by Paulus Schoutsen
parent 16e1b3772c
commit 12e92d504d
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)