After upgrading to 0.90 I’m getting error when trying to control my garage door via google assistant. I can still control it via HASSIO. Can also still control other devices using google assistant.
I’m using the google assistant intergration.
Here’s the error in the log:
2019-03-25 06:05:30 ERROR (MainThread) [homeassistant.components.google_assistant.smart_home] Unexpected error
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google_assistant/smart_home.py”, line 240, in _process
result = await handler(hass, data, inputs[0].get(‘payload’))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google_assistant/smart_home.py”, line 367, in handle_devices_execute
execution.get(‘params’, {}))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google_assistant/smart_home.py”, line 190, in execute
await trt.execute(command, data, params)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google_assistant/trait.py”, line 245, in execute
}, blocking=True, context=data.context)
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1138, in async_call
self._execute_service(handler, service_call))
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1160, in _execute_service
await handler.func(service_call)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 188, in handle_service
self._platforms.values(), func, call, service_name
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py”, line 235, in entity_service_call
raise UnknownUser(context=call.context)
homeassistant.exceptions.UnknownUser: UnknownUser
2019-03-25 06:05:30 ERROR (MainThread) [homeassistant.components.google_assistant.smart_home] Error handling message {‘inputs’: [{‘context’: {‘locale_language’: ‘en’}, ‘intent’: ‘action.devices.EXECUTE’, ‘payload’: {‘commands’: [{‘devices’: [{‘id’: ‘cover.garage_door’}], ‘execution’: [{‘command’: ‘action.devices.commands.OnOff’, ‘params’: {‘on’: False}}]}]}}], ‘requestId’: ‘8545644993481616231’}: {‘errorCode’: ‘unknownError’}
I would like to add that I can link and unlink my [test] in the Google Home app. It just errors out when I try to turn on/off a light from the Google Home app or directly from my Google Home. I can operate things from my Home Assistant web ui just fine.
My exchange with the Google Home.
“Hey Google, turn off the Family Room Lights.”
“Sorry, there was an error for the Family Room Lights.”
I’m having the same problem. Google Assistant is working with other devices, but not with Home Assistant device since upgrading .90.1 I get the same errors. They work fine via Home Assistant, but not voice, and not the Google Home App.
Just upgraded to .90.1 experiencing the same issue. Can control devices via Home Assistant directly but the interface between HASS and Google doesn’t seem to be working anymore.
Just heard back from Nabu Casa. They told me to upgrade to the .90.2 which may help. Upgrading did not fix it by itself. Their next step was to remove the “cloud” file in the .storage directory and then restart Home Assistant and have it build a new file. That worked for me and I can control my devices again from Google Assistant.
Yep, that was it. The recent upgrades to Nabu Casa must have broken the existing security tokens. Removing the .cloud directory and re-authenticating with Nabu Casa fixed my issue too. Thanks for following up!