@ANEUdEli wrote:
I’ve configured an automation to call google_assistant.request_sync when home assistant starts up:
- alias: "Update Google Assistant" trigger: platform: homeassistant event: start action: - service: google_assistant.request_sync
However it fails with this message, defined here: “No agent_user_id supplied for request_sync. Call as a user or pass in user id as agent_user_id.”
How do I pass in the agent_user_id to fix this?
The google_assistant integration documentation mentions agent_user_id only once in “troubleshooting the request_sync service”. I don’t really understand what it means when it says “The request_sync service requires that the initial sync from Google includes the agent_user_id.”
The suggested remedy is to unlink and relink the service in the Google Home app. I’d really rather not do that unless I have some reason to believe it will fix it since it’s a bunch of work to move all the devices into rooms.
Here’s the relevant section of my configuration.yaml:
google_assistant: project_id: <redacted> api_key: <redacted> service_account: !include home-assistant-google-cloud-service-account.json report_state: true secure_devices_pin: "<redacted>" exposed_domains: - cover - switch
Thanks for any help.
Posts: 1
Participants: 1