Hello,
I recently configured Google Assistant with Home Assistant. Everything was working. Suddenly now I am getting errors. Google says the devices are offline, and cannot talk to them. Home Assistant shows errors like:
2022-08-03 18:11:11 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500
If I try to sync the devices, I get errors like:
2022-08-03 17:53:25 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 429
2022-08-03 17:53:25 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140663093135584] Unable to sync devices with result code: 429, check log for more info.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_callead) [homeassistant.components.aut
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_serviceead) [homeassistant.components.aut
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(ready running
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_servicet_location_updates] Update Tesla l
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_callt_location_updates] Update Tesla l
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_callt_location_updates] Update Tesla l
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_callt_location_updates] Update Tesla l
await result
File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 114, in _async_press_action
await self.async_press()
File "/usr/src/homeassistant/homeassistant/components/google_assistant/button.py", line 51, in async_press
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Unable to sync devices with result code: 429, check log for more info.
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_callt_location_updates] Update Tesla l
await result
File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 114, in _async_press_action
await self.async_press()
File "/usr/src/homeassistant/homeassistant/components/google_assistant/button.py", line 51, in async_press
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Unable to sync devices with result code: 429, check log for more info.
2022-08-03 17:53:33 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500
2022-08-03 17:53:33 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall button.press (c:01G9HB3SK7QDRJ29GNVWSEW5KG): entity_id=['button.synchronize_devices']>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1731, in catch_exceptionst_location_updates] Update Tesla l
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_servicet_location_updates] Update Tesla l
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(ead) [homeassistant.components.aut
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_serviceready running
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_callready running
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_callready running
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_callready running
await result
File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 114, in _async_press_action
await self.async_press()
File "/usr/src/homeassistant/homeassistant/components/google_assistant/button.py", line 51, in async_press
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Unable to sync devices with result code: 500, check log for more info.
Is this something I have done wrong, or is something broken with Google right now?
Doing research I see similar errors from people who try to sync the devices, but in this case it makes the google integration unusable right now. Not just the sync operation.
EDIT: Just to clarify this was entirely working before, it suddenly broke and I didn’t change anything to break it.