Few days ago, zigbee stopped working. It had been working fine for almost one year with an up-to-date HA. I run a Raspberry Pi 3 with a ZiGate v1 USB dongle using zigate firmware 3.21
It’s like comamnds send to device are not responding.
I’ve checked dongle in a different computer, reflashed it successfuly and send some commands to verify device works properly. So there’s something wrong with ZHA and my device I can’t see.
I deleted the integration, restarted the device and it autodiscovered my ZiGate.
I click on Configure, “Do you want to setup ZiGate - ZiGate?” => click on Submit and get an error:
" Unknown error occurred"
Can you help me with this? any idea?
Error log shows:
18:03:39 – (ERROR) components/zha/config_flow.py - message first occurred at 17:28:30 and shows up 4 times
Logger: aiohttp.server
Source: components/zha/config_flow.py:167
First occurred: 17:28:30 (4 occurrences)
Last logged: 18:03:39
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 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/zha/config_flow.py", line 587, in async_step_confirm
return await self.async_step_choose_formation_strategy()
File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 373, in async_step_choose_formation_strategy
await self._async_load_network_settings()
File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 354, in _async_load_network_settings
async with self._connect_zigpy_app() as app:
File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 167, in _connect_zigpy_app
await app.connect()
File "/usr/local/lib/python3.10/site-packages/zigpy_zigate/zigbee/application.py", line 47, in connect
major, minor = version.to_bytes(2, "big")
AttributeError: 'list' object has no attribute 'to_bytes'
Home Assistant 2022.10.2
Supervisor 2022.10.0
Operating System 9.0
Frontend 20221006.0 - latest