Hello,
Two weeks ago I ran into the same problem:
Relinking my GoogleAssistant failed after unlinking (before it worked for 3 months without problems).
Problem occured after correct homeassistant login screen and message “[test] … sucessfully y linked” then I got error message “could not reach homeassistant [test]. Try again later”.
My domain with ssl-certificate was working properly,
also credentials at console.actions.google.com or console.cloud.google.com were correct.
Sync my devices in app or voice-command result in an error, too.
Neither clearíng app-cache or uninstalling App helped.
Nor using GoogleHome-App from another (not home) network.
I found MY SOLUTION here (last hint at the bottom of the page):
https://www.home-assistant.io/integrations/google_assistant/
"FAILED LINKING - COULD NOT UPDATE THE SETTING. PLEASE CHECK YOUR CONNECTION
If you’re having trouble linking your account, with the error message Could not update the setting. Please check your connection after logging into your Home Assistant instance, try setting expose_by_default: false then exposing a single simple device (light or switch preferably). It is also worth checking if any home ad blocker is disabled if you are having issues."
- Change configuration.yaml and expose only one entity.
- Restart Homeassistant
- In GoogleHomeApp Settings>Services>AddDevices: Link “[test] Homeassistant”
- Only your exposed Entity is shown
- Change configuration.yaml and set expose_by_default to true.
- In GoogleHomeApp Settings>Services>AddDevices: Longpress on Link “[test] Homeassistant” then select search for new devices.
- All entities are shown again in GoogleHome.
# Example configuration.yaml entry with only one entity exposed.
google_assistant:
project_id: YOUR_PROJECT_ID
service_account: !include SERVICE_ACCOUNT.JSON
report_state: true
expose_by_default: false
entity_config:
light.YOUR-LIGHT_ENTITY_IN_HA:
name: "CUSTOM_NAME_FOR_GOOGLE_ASSISTANT"
expose: true
room: "LIVING_ROOM"
# Example configuration.yaml entry with all entities exposed.
google_assistant:
project_id: YOUR_PROJECT_ID
service_account: !include SERVICE_ACCOUNT.JSON
report_state: true
expose_by_default: true