Hi,
I configured the Google Assistant integration according to the description in Google Assistant Docs
So far, everything works fine, however I added a new light to Home Assistant, but it does not show up in the Google Home app on my Android smartphone.
I exposed the lights like this
exposed_domains:
- switch
- light
- group
and do not make use of the google_assistant_name customization.
Similarly, when I remove an existing Light from Home Assistant, it is still shown in the Google Home app.
I can remove the Home Assistant link within the Google Home app and add it again to update all devices, but this will reset all connections to the rooms in Google Home, so I want to avoid to do this whenever I add/rename/remove a light or switch in Home Assistant.
Is there anything I missed during configuration of the integration, or is there any way to trigger an update of the components within the Google Home app?
I had now the time to try this out with the latest 0.58 release but had no luck so far.
I enabled the Homegraph API for my Home Assistant project in the cloud console as described in the Google Assistant Docs and added the api_key and an agent_user_id to the google_assistant section in the configuration.
As the documentation states that the initial sync from Google requires the agent_user_id I unlinked and relinked the account from the Google Assistant.
But still, when I add/remove a light and restart Home Assistant, the Google Assistant does not update accordingly.
Oh, I did not get that the request_sync service as described in the documentation is a Home Assistant service that has to be called manually.
Somehow I thought it is something that is triggered when I try to refresh the data in the Google Assistant.
Now, when I call the google_assistant.request_sync service everything works like a charm.
On your Home Assistant page, in the bottom left under Developer Tools click on the leftmost icon.
Select Domain google_assistant and Service request_sync and click the Call Service button.
I suppose this can be automated by the following automation:
automation:
- alias: 'Update Google Assistant on start of Home Assistant'
trigger:
platform: homeassistant
event: start
action:
service: google_assistant.request_sync
I now have a new project on https://console.cloud.google.com, but this is a newly created project that I needed to create today to enable html5 notifications via GCM. So not the same name etc.
I have never submitted my project on Actions, I have only have it as test draft. Is this sufficient?
I do think my project was also not shown on https://console.cloud.google.com by default.
I chose the dropdown to select the project (I have some other projects in there though) and searched for it in the Search Projects and Folders search field, that worked for me.
Yes, this worked. I could not select it from the drop-down, it was not visible under âAllâ from the popup you get when pressing the dropdown⌠but when I searched from it, I found it. And after that, it was visible from the drop-down.
Note: The request_sync service requires that the initial sync from Google includes the agent_user_id. If not, the service will log an error that reads something like âRequest contains an invalid argumentâ. If this happens, then unlink the account from Home Control and relink.