Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update Google Assistant services description and request sync timeout #19113
#17415 was merged to dev but not master. Since then the init.py has been updated to reflect other changes. This PR brings the previous PR and current together. Previous #17415 was being tested and I can confirm is valid. @awarecan sorry about the delay and misunderstanding. I have also updated the services.yaml to reflect the correct ID to use. I will submit another PR to update documentation.
Also, the request sync timeout was set to 5s. Routinely the service would sync but throw an error indicating that "Could not contact Google for request_sync". This was not the case. The service did sync and new devices would show up. However Google was not responding within the 5s timeout threshold. I tested up to 10s and sometimes the same thing would happen. A safe value ended up being 15s. I have a very large amount of devices sync'd to GA (200+) and this is likely the reason for Googles response taking longer than 5s.
Related issue (if applicable): fixes #17380
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for