Google Assistant Issue on 0.90

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’}

1 Like

I’m getting the same type of error, but for all of my lights under google assistant:

2019-03-26 21:02:17 ERROR (MainThread) [homeassistant.components.google_assistant.smart_home] Unexpected error
Traceback (most recent call last):
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/components/google_assistant/smart_home.py”, line 240, in _process
result = await handler(hass, data, inputs[0].get(‘payload’))
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/components/google_assistant/smart_home.py”, line 367, in handle_devices_execute
execution.get(‘params’, {}))
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/components/google_assistant/smart_home.py”, line 190, in execute
await trt.execute(command, data, params)
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/components/google_assistant/trait.py”, line 245, in execute
}, blocking=True, context=data.context)
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/core.py”, line 1138, in async_call
self._execute_service(handler, service_call))
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/core.py”, line 1160, in _execute_service
await handler.func(service_call)
File “/srv/homeassistant/lib64/python3.6/site-packages/homeassistant/components/light/init.py”, line 271, in async_handle_light_on_service
permission=POLICY_CONTROL
homeassistant.exceptions.Unauthorized: Unauthorized
2019-03-26 21:02:17 ERROR (MainThread) [homeassistant.components.google_assistant.smart_home] Error handling message {‘inputs’: [{‘context’: {‘locale_language’: ‘en’}, ‘intent’: ‘action.devices.EXECUTE’, ‘payload’: {‘commands’: [{‘devices’: [{‘id’: ‘light.family_room_lights’}], ‘execution’: [{‘command’: ‘action.devices.commands.OnOff’, ‘params’: {‘on’: True}}]}]}}], ‘requestId’: ‘731355379140985599’}: {‘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.

1 Like

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!

Where is this cloud file? I don’t see it in .storage

Don’t know what to tell you. for me there is a cloud file in the .storage subdirectory of my HA config directory.

Is it named “cloud”?

Yes, it is.

Thanks, ran into this issue and removing the cloud file from .storage (note this is a hidden folder), did the trick.