Hi all
I am quite new to home assistant & I am trying to integrate Smartthings into hass.
This seemed to be fairly easy, but yet I stumble upon an error when trying to do so.
I have searched for similar issues in the forum, but not found a solution to my problem.
Perhaps a fresh re-install of hass is the only solution.
- I am running hass on a Raspberry Pi 4
- I have a Home assistant Cloud account (Nabu Casa)
- I can connect to my hass remotely
- I have a personal token from Smartthings (But I have nowhere to add it, since I do not get that far)
When I try to “+ Add integration”
- Search for Smartthings, => click to add it
- I get an error stating the following:
– “Error - Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble”
The log is saying this:
Logger: aiohttp.server
Source: components/webhook/__init__.py:46
First occurred: October 25, 2022 at 15:20:43 (17 occurrences)
Last logged: 10:08:58
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 148, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 225, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/smartthings/config_flow.py", line 60, in async_step_user
await setup_smartapp_endpoint(self.hass)
File "/usr/src/homeassistant/homeassistant/components/smartthings/smartapp.py", line 226, in setup_smartapp_endpoint
webhook.async_register(
File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 46, in async_register
raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!