Hi everyone,
I recently updated my HA with the new frontend login, current version 0.81.2.
I have duckdns under SSL by Let’sEncrypt, RPI is always updated and upgraded, ports 8123 and 443 are forwarded.
Everything worked fine during the update, I can access my HA with the new frontend but now I cannot see all my devices in Google Home.
I followed the https://www.home-assistant.io/components/google_assistant/ guide step-by-step (“Migrate to release 0.80 and above”), properly modified the Google Project settings and my configuration(.yaml):
The “[test] xxx” project is available in Google Home, I click on it, I successfully set the HA credentials and link HA with GA (“Accounts now linked”) but when the page refreshes no devices have been added to GA and the “[test] xxx” project still remains in the available component list.
I tried everything for days, this is very frustrating. Any ideas?
Many thanks
SoL
Well after days of strugglings I found the solution by myself.
I found many other users having the same issue in different topics, I hope this can help.
While linking your “[test] project” in Google Home, use the “Legacy API Password” method instead of “Home Assistant local” to sign in in Home Assistant. This point was the clue for me.
I have the same problem: The “[test] xxx” project is available in Google Assistant, I click on it, I successfully set the HA credentials and link HA with GA (“Accounts now linked”) but when the page refreshes no devices have been added to GA and the “[test] xxx” project still remains in the available component unlinked list.
I have verified that my action and Homegraph API has the same project name. I have also tried the legacy API login with no luck.
Did this work for anyone else? I tried to make the change to auth_providers to the legacy password that @Sunonline suggested but I still have the same issue. Says it links but nothing actually happens. I’m on 0.81.6 if that makes a difference.
That the above setting of my configuration.yaml / however when I click link [test]name. This will launch to my home-assistant login page. I use my username and password to link with google assistant component. not the api_password.
Thanks, I was just now able to get mine working with my username and password as well. The change that I made was changing the exposed domain from LIGHT to light. The capital letters (which are found in the home assistant guide) seem to cause an issue. Once I switched to lower case it worked fine.
The following configuration used to work to hide all devices except those listed in exposed_domains:
google_assistant:
project_id: [snip]
api_key: !secret [snip]
expose_by_default: false # this must now be true
exposed_domains:
- switch
- light
- input_boolean
- scene
Changing expose_by_default to true fixed this issue while behaving the same.