I could really need some help getting Google assistant integration working again… I’ve had it working for about a year, but some entities weren’t controllable (shown as offline with GA), and sync_update wouldn’t work when I wanted (but did a few times) so I decided to remove the configuration and start over, so I created and configured a new project, replaced the info in the configuration an so on, but now I keep getting “Couldn’t update your settings, check connection”
I have made sure that my HA instance is accessible over the internet over https and I can see my instance is reachable both through https://mydomain.duckdns.org:8123 and https://mydomain.duckdns.org (both 443 and 8123 are forwarded)
I have disabled pihole temporarely while trying to add the project in the Google home app.
I should also mention that I removed my original project from the Google Actions console, but I can still see two test apps in the Home app even though I only have one i the G Actions console
I have also tried:
clearing my browser cache and cookies
removing the HA chrome-app from the phone
exposing only a single entity in the configuration
Disabling the manual Google assistant integration and trying with the Nabu Casa cloud one and I keep seeing the same issue “Couldn’t update your settings, check connection” or something in that regard.
Here’s (one of) my configuration.yaml configurations I’ve tried prior to trying to set up GA with cloud:
google_assistant:
project_id: MYNEWPROJECT
service_account: !include MYNEWGAPROJECT.json
report_state: true
expose_by_default: true
exposed_domains:
- light
entity_config:
light.vardagsrum_tak:
expose: true
I’m seeing these in the logs, but can’t seem to make much sense of it.
Logger: homeassistant.components.websocket_api.http.connection.REDACTED
Source: components/websocket_api/connection.py:97
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 14:22:13 (1 occurrences)
Last logged: 14:22:13
Error handling message: Unauthorized
Another:
Logger: homeassistant.components.google_assistant.smart_home
Source: components/google_assistant/trait.py:193
Integration: Google Assistant (documentation, issues)
First occurred: 14:23:13 (9 occurrences)
Last logged: 14:25:31
Unexpected error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/google_assistant/smart_home.py", line 57, in _process
result = await handler(hass, data, inputs[0].get("payload"))
File "/usr/src/homeassistant/homeassistant/components/google_assistant/smart_home.py", line 90, in async_devices_sync
for entity in async_get_entities(hass, data.config)
File "/usr/src/homeassistant/homeassistant/components/google_assistant/helpers.py", line 538, in async_get_entities
if entity.is_supported():
File "/usr/src/homeassistant/homeassistant/components/google_assistant/helpers.py", line 371, in is_supported
return bool(self.traits())
File "/usr/src/homeassistant/homeassistant/components/google_assistant/helpers.py", line 344, in traits
self._traits = [
File "/usr/src/homeassistant/homeassistant/components/google_assistant/helpers.py", line 347, in <listcomp>
if Trait.supported(domain, features, device_class)
File "/usr/src/homeassistant/homeassistant/components/google_assistant/trait.py", line 193, in supported
return features & light.SUPPORT_BRIGHTNESS
TypeError: unsupported operand type(s) for &: 'str' and 'int'
Another:
Logger: homeassistant.components.google_assistant.smart_home
Source: components/google_assistant/smart_home.py:33
Integration: Google Assistant (documentation, issues)
First occurred: 14:23:13 (9 occurrences)
Last logged: 14:25:31
Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '16677197895202521342'}: {'errorCode': 'unknownError'}
Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '2414685249902313956'}: {'errorCode': 'unknownError'}
Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '1444145285365152721'}: {'errorCode': 'unknownError'}
Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '11423497685148771470'}: {'errorCode': 'unknownError'}
Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '17109729758187490245'}: {'errorCode': 'unknownError'}
Not sure if this one’s related:
Logger: homeassistant.components.websocket_api.http.connection.139997077976160
Source: components/websocket_api/http.py:138
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 14:30:00 (1 occurrences)
Last logged: 14:30:00
Client unable to keep up with pending messages. Stayed over 512 for 5 seconds