I have an existing HA setup on a RPi 4. I have Zigbee ZHA running on a ConBee II. I am trying to add a Zooz ST2 700 series USB dongle for z-wave. It won’t auto detect it. When I try to add the integration through Settings->Devices & Services->Add Integration I get “Unknown Error Occurred” when I press submit.
Log message:
Logger: aiohttp.server
Source: components/usb/utils.py:13
First occurred: 3:18:12 PM (2 occurrences)
Last logged: 3:51:04 PM
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 94, 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 180, in post
return await super().post(request, flow_id)
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 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 280, in async_configure
result = await self._async_handle_step(
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/zwave_js/config_flow.py", line 550, in async_step_on_supervisor
return await self.async_step_configure_addon()
File "/usr/src/homeassistant/homeassistant/components/zwave_js/config_flow.py", line 609, in async_step_configure_addon
ports = await async_get_usb_ports(self.hass)
File "/usr/src/homeassistant/homeassistant/components/zwave_js/config_flow.py", line 144, in async_get_usb_ports
return await hass.async_add_executor_job(get_usb_ports)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/zwave_js/config_flow.py", line 128, in get_usb_ports
usb_device = usb.usb_device_from_port(port)
File "/usr/src/homeassistant/homeassistant/components/usb/utils.py", line 13, in usb_device_from_port
vid=f"{hex(port.vid)[2:]:0>4}".upper(),
TypeError: 'NoneType' object cannot be interpreted as an integer