Open DeamBeam opened 1 month ago
Same problem here with nuki 2.0
Error setting up entry Garagentür for hass_nuki_bt Error setting up entry Garagentür for hass_nuki_bt Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hass_nuki_bt/__init__.py", line 90, in async_setup_entry if not await coordinator.async_wait_ready(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hass_nuki_bt/coordinator.py", line 155, in async_wait_ready await self._async_update() File "/config/custom_components/hass_nuki_bt/coordinator.py", line 112, in _async_update await self.device.update_state() File "/usr/local/lib/python3.12/site-packages/pyNukiBT/nuki.py", line 421, in update_state msg = await self._send_encrtypted_command( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyNukiBT/nuki.py", line 184, in _send_encrtypted_command unencrypted = self._const.NukiMessage.build( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/construct/core.py", line 452, in build self.build_stream(obj, stream, **contextkw) File "/usr/local/lib/python3.12/site-packages/construct/core.py", line 464, in build_stream self._build(obj, stream, context, "(building)") File "/usr/local/lib/python3.12/site-packages/construct/core.py", line 2260, in _build buildret = sc._build(subobj, stream, context, path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/construct/core.py", line 2774, in _build return self.subcon._build(obj, stream, context, path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/construct/core.py", line 4559, in _build return self.subcon._build(obj, stream, context, path) ^^^^^^^^^^^^^^^^^^ AttributeError: 'tmpclass' object has no attribute '_build'
Is this repo also dead?
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4868 Installed Version | 1.34.0 Stage | running Available Repositories | 1388 Downloaded Repositories | 10Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.4 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.2 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 30.8 GB disk_used | 8.4 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | File editor (5.8.0), Vaultwarden (Bitwarden) (0.22.0), Mosquitto broker (6.4.1), Terminal & SSH (9.14.0), Meross Local Broker Addon (0.0.1-alpha49), Zigbee2MQTT (1.39.0-1)Dashboards
dashboards | 2 -- | -- resources | 2 views | 9 mode | storageRecorder
oldest_recorder_run | 21. Juli 2024 um 20:53 -- | -- current_recorder_run | 31. Juli 2024 um 22:28 estimated_db_size | 181.86 MiB database_engine | sqlite database_version | 3.45.3Spotify
api_endpoint_reachable | ok -- | --Checklist
Nuki Device type
Nuki Smartlock 1.0
hass_nuki_bt version
0.0.14
Describe the issue
Devices failes to setup. It automatically discovers the device and i can configure it. It also recognizes if the device is in pairing mode (instantly shows a message that pairing mode needs to enabled). If i set it up as client type "App" it creates the "Homeassistant" User on the Nuki lock. But with either client type it fails to setup the device.
I also tried to enable and disable passive scanning in the bluetooth integration.
(i use this Bluetooth adapter: https://www.amazon.de/gp/product/B0BW97QCTX/ )
Reproduction steps
Debug logs
Diagnostics dump
No response