Issue when creating a SmartThings integration. Running on latest HASS.IO version and connected to NABU/CASA cloud.
When starting to config SmartThing integration, i’m promped to enter Token, which i created according the instructions given. After adding token i get this error message: “SmartThings could not validate the endpoint configured in base_url
. Please review the component requirements”.
So i tried to add the https url from NabuCasa cloud into homeassistant.cfg under http: base_url:.
I restarted hass.io and tried to add the token again, but now i get error message: “Unknown error occurred”.
Anyone knows what clould be wrong, or help me in the right direction where to start find a solution?
If you are using Home Assistant Cloud, there shouldn’t be an base_url:
entry in your configuration.yaml. Delete it, restart HA and try again.
I have now done what you suggested, restarted. But i still get the same error message “Unknown error occurred” Any other suggestions on what could solve this issue?
I have the same problem. Created a token but when i try to enter it in HA i get “Unknown error occurred”
I have the same problem when I paste my token in I get “Unknown error occurred”. I have a CASA/NABU account with remote access active. Here is the devlopers log file
At the end is says error handler is already defined.
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/real_ip.py”, line 40, in real_ip_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 73, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 136, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 122, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 163, in post
return await super().post(request, flow_id)
File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 48, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 90, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 89, in async_configure
result = await self._async_handle_step(flow, cur_step[“step_id”], user_input)
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 132, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File “/usr/src/homeassistant/homeassistant/components/smartthings/config_flow.py”, line 90, in async_step_user
await setup_smartapp_endpoint(self.hass)
File “/usr/src/homeassistant/homeassistant/components/smartthings/smartapp.py”, line 225, in setup_smartapp_endpoint
hass, DOMAIN, “SmartApp”, config[CONF_WEBHOOK_ID], smartapp_webhook
File “/usr/src/homeassistant/homeassistant/components/webhook/init.py”, line 33, in async_register
raise ValueError(“Handler is already defined!”)
ValueError: Handler is already defined!
Same here, keep getting error: Unknown error occurred
I had the same issue this morning - solution was simple - delete integration and reconfigure it (using same token from ST side) and edit SmartApp.
How and where should I delete the integration?
I am setting up for first time. I go to configuration in Home assistant, then integrations scroll down to smart things enter my token and get the error and log file above. I thought I might still be able to do next step
and looked in smart things (both new and classic) there is no Home assistant app in my apps classic or new,
Me too same issue.
Seems to be a problem with the integration itself.
I’m getting the same. I only subscribed to this service to save opening my network up but it does’nt seem to work.
If anyone still isn’t up and running you most likely will find the solution here: