kvj / hass_nuki_ng

Better support for Nuki devices in the Home Assistant
MIT License
167 stars 32 forks source link

Nuki Lock unavailable after HA OS Update 10.1 #150

Open Milinator opened 1 year ago

Milinator commented 1 year ago

Hi @all,

after updating Home Assistant OS to 10.1 my Nuki Lock is no longer available. Here is the error log:

Logger: custom_components.nuki_ng.nuki Source: custom_components/nuki_ng/nuki.py:412 Integration: Nuki Lock (documentation, issues) First occurred: 18:17:24 (3 occurrences) Last logged: 18:17:43

Failed to get latest data: No available device data Traceback (most recent call last): File "/config/custom_components/nuki_ng/nuki.py", line 412, in _update raise HomeAssistantError("No available device data") homeassistant.exceptions.HomeAssistantError: No available device data

I'm running my Home Assistant OS on an Intel NUC5i5-5250U, If that matters.

bgoncal commented 1 year ago

Same happening to me

StreborStrebor commented 1 year ago

It works here on:

Home Assistant 2023.5.2 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.3 - latest

Milinator commented 1 year ago

I switched to the ESP alternative. It's faster and probably more stable.

Nebur692 commented 11 months ago

Not work on Home Assistant 2023.7.2

Este error se originó a partir de una integración personalizada.

Logger: homeassistant.config_entries Source: custom_components/nuki_ng/nuki.py:38 Integration: Cerradura Nuki (documentation, issues) First occurred: 01:27:50 (1 occurrences) Last logged: 01:27:50

Error setting up entry Puerta for nuki_ng Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/nuki_ng/init.py", line 27, in async_setup_entry await coordinator.async_config_entry_first_refresh() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 251, in async_config_entry_first_refresh await self._async_refresh( File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 242, in _async_update_data return await self.update_method() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/nuki_ng/nuki.py", line 442, in _update_data return await self._update() ^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/nuki_ng/nuki.py", line 424, in _update item["last_log"] = await self.api.web_get_last_unlock_log(web_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/nuki_ng/nuki.py", line 201, in web_get_last_unlock_log response = await self.web_async_json( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/nuki_ng/nuki.py", line 185, in web_async_json return await self.async_json( ^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/nuki_ng/nuki.py", line 38, in async_json response = await self.hass.async_add_executor_job(lambda: cb(requests)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError

juanrferia commented 8 months ago

Same issue just after migration to Home Assistant 2023.10.5 and OS 11.0. Before updating it was working fine

efolio commented 4 months ago

I just updated (was late in the updates), and the locks became unavailable. I now have a banner on every entity saying : "This entity is no longer being provided by the nuki_ng integration. If the entity is no longer in use, delete it in settings" I regret updating…

Core 2024.2.1 Supervisor 2024.01.1 Operating System 11.5 Frontend 20240207.1

Anybody have an idea how to circumvent or fix this issue ?