I am having a huge headache with the SmartThings integration. I got a new Pi4 and decided to start my setup from scratch. After getting all of the initial config the way I wanted it, I decided to get SmartThings connected back up again. But, I keep getting an “unknown error” trying to set up SmartThings again.
I have run the hass_smarthings_remove utility and the Smart App appears to be gone from my ST app. But, this hasn’t had any impact on the “unknown error”. I am using Nabu Casa for remote access.
The following error is in the logs:
Error handling request
4:54 PM components/smartthings/smartapp.py (ERROR)Error handling request
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 237, in setup_smartapp_endpoint
hass, config[CONF_WEBHOOK_ID]
TypeError: async_create_cloudhook() takes 2 positional arguments but 3 were given
Any thoughts?