Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:209
First occurred: September 19, 2023 at 10:11:26 PM (1 occurrences)
Last logged: September 19, 2023 at 10:11:26 PM
Error setting up entry ConBee II for zha
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py”, line 313, in _command
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 198, in startup
await self.initialize(auto_form=auto_form)
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 117, in initialize
await self.load_network_info(load_devices=False)
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py”, line 323, in load_network_info
(network_info.network_key.tx_counter,) = await self._api[
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py”, line 430, in read_parameter
r = await self._command(Command.read_parameter, 1 + len(data), param, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py”, line 312, in _command
async with asyncio_timeout(COMMAND_TIMEOUT):
File “/usr/local/lib/python3.11/asyncio/timeouts.py”, line 111, in aexit
raise TimeoutError from exc_val
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 180, in async_setup_entry
await zha_gateway.async_initialize()
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 222, in async_initialize
raise exc
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 209, in async_initialize
await self.application_controller.startup(auto_form=True)
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 201, in startup
await self.shutdown()
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 406, in shutdown
await self._dblistener.shutdown()
File “/usr/local/lib/python3.11/site-packages/zigpy/appdb.py”, line 187, in shutdown
await self._set_isolation_level(None)
File “/usr/local/lib/python3.11/site-packages/zigpy/appdb.py”, line 205, in _set_isolation_level
await self._db._execute(lambda: setattr(self._db, “isolation_level”, level))
File “/usr/local/lib/python3.11/site-packages/aiosqlite/core.py”, line 126, in _execute
raise ValueError(“Connection closed”)
ValueError: Connection closed