Automaticially create an assist pipeline using cloud stt + tts (#91991)
* Automaticially create an assist pipeline using cloud stt + tts * Return the id of the cloud enabled pipeline * Wait for platforms to load * Fix typing * Fix startup race * Update tests * Create a cloud pipeline only when logging in * Fix tests * Tweak _async_resolve_default_pipeline_settings * Improve assist_pipeline test coverage * Improve cloud test coverage
This commit is contained in:
parent
74e0341d83
commit
57a59d808b
14 changed files with 303 additions and 68 deletions
|
@ -28,7 +28,9 @@ async def async_get_engine(hass, config, discovery_info=None):
|
|||
"""Set up Cloud speech component."""
|
||||
cloud: Cloud = hass.data[DOMAIN]
|
||||
|
||||
return CloudProvider(cloud)
|
||||
cloud_provider = CloudProvider(cloud)
|
||||
cloud.client.stt_platform_loaded.set()
|
||||
return cloud_provider
|
||||
|
||||
|
||||
class CloudProvider(Provider):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue