mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Google assistant storage of connected agents (#29158)
* Make async_report_state take agent_user_id * Attempt to store synced agents * Drop now not needed initialization * Make sure cloud uses the all sync on changed preferences * Some more places to use all version of sync * Get the agent_user_id from the request context if available * Minor cleanup * Remove the old fixed agent_user_id for cloud Instead pass along cloud_user where appropriate. * async_delay_save takes a function * Adjust test for delayed store * Remove unused save function * Add login check.
This commit is contained in:
committed by
Paulus Schoutsen
parent
434b783b4c
commit
2569c4ae37
@@ -101,6 +101,7 @@ class CloudClient(Interface):
|
||||
self._google_config = google_config.CloudGoogleConfig(
|
||||
self._hass, self.google_user_config, cloud_user, self._prefs, self.cloud
|
||||
)
|
||||
await self._google_config.async_initialize()
|
||||
|
||||
return self._google_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user