Remove cloud assist pipeline setup from cloud client (#92056)

This commit is contained in:
Erik Montnemery 2023-04-26 12:53:58 +02:00 committed by GitHub
parent 6b931b208f
commit ed737f306b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 119 additions and 133 deletions

View file

@ -29,7 +29,8 @@ async def async_get_engine(hass, config, discovery_info=None):
cloud: Cloud = hass.data[DOMAIN]
cloud_provider = CloudProvider(cloud)
cloud.client.stt_platform_loaded.set()
if discovery_info is not None:
discovery_info["platform_loaded"].set()
return cloud_provider