Add conversation entity (#114518)

* Default agent as entity

* Migrate constant to point at new value

* Fix tests

* Fix more tests

* Move assist pipeline back to cloud after dependenceis
This commit is contained in:
Paulus Schoutsen 2024-04-01 21:34:25 -04:00 committed by GitHub
parent b1af590eed
commit d2e4f5f36e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 566 additions and 177 deletions

View file

@ -223,7 +223,10 @@ class CloudLoginView(HomeAssistantView):
cloud: Cloud[CloudClient] = hass.data[DOMAIN]
await cloud.login(data["email"], data["password"])
new_cloud_pipeline_id = await async_create_cloud_pipeline(hass)
if "assist_pipeline" in hass.config.components:
new_cloud_pipeline_id = await async_create_cloud_pipeline(hass)
else:
new_cloud_pipeline_id = None
return self.json({"success": True, "cloud_pipeline": new_cloud_pipeline_id})