Hi. i am trying Home Assistant for the third time, but now i really mean to stick around. Ive done a fresh install of HA in a Docker on a RPI and i am hoping to run it as both a server and a viewer through web ui.
when i reactivated my nabu casa account it seemed to have an old Smartthings webhook (from the two earlier attempts) but i couldnt get it past the api token part. I tried the script to remove old integration for Smartthings and it seemed to work. However, now i cant even start to add the integrations, it only says “config flow could not be loaded (swe) 500 Internal Server Error Server got itself in trouble” and i cant seem to add it after i ran the script.
what can i do to fix this? having it work with Smartthings is sort of a big thing.
i tried other integrations and they work so it would seem it just the ST one afaik.
again, really appriciate if any replies have detailed instructions since the whole command based OS is new to me.
EDIT
think the logg is picking up on the error, posting it below in quote
Logger: aiohttp.server
Source: components/webhook/__init__.py:46
First occurred: 18:47:45 (5 occurrences)
Last logged: 19:20:29
Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/ban.py", line 82, in ban_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/config/config_entries.py", line 148, in post
return await super().post(request)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/http/data_validator.py", line 73, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/data_entry_flow.py", line 71, in post
result = await self._flow_mgr.async_init(
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 225, in async_init
flow, result = await task
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 252, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/smartthings/config_flow.py", line 60, in async_step_user
await setup_smartapp_endpoint(self.hass)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/smartthings/smartapp.py", line 226, in setup_smartapp_endpoint
webhook.async_register(
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/webhook/__init__.py", line 46, in async_register
raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!