ronengr / hass_nuki_bt

Control Nuki Lock over bluetooth
MIT License
32 stars 7 forks source link

Nuki 2.0 #37

Closed Marcus27-03 closed 4 months ago

Marcus27-03 commented 4 months ago

System Health details

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.hass_nuki_bt Source: components/bluetooth/active_update_coordinator.py:129 Integration: Nuki Türöffner (documentation, issues) First occurred: 15:07:06 (1 occurrences) Last logged: 15:07:06

54:D2:72:81:E8:B5: Failure while polling Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/bluetooth/active_update_coordinator.py", line 129, in _async_poll self.data = await self._async_poll_data(self._last_service_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/bluetooth/active_update_coordinator.py", line 122, in _async_poll_data return await self._poll_method(last_service_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hass_nuki_bt/coordinator.py", line 119, in _async_update elif logs[0].index > self.last_nuki_log_entry.index: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'dict' object has no attribute 'index'

Checklist

Describe the issue

After pairig No Entität

Reproduction steps

  1. Config 2.pairig 3.error ...

Debug logs

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.hass_nuki_bt
Source: components/bluetooth/active_update_coordinator.py:129
Integration: Nuki Türöffner (documentation, issues)
First occurred: 15:07:06 (1 occurrences)
Last logged: 15:07:06

54:D2:72:81:E8:B5: Failure while polling
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/bluetooth/active_update_coordinator.py", line 129, in _async_poll
    self.data = await self._async_poll_data(self._last_service_info)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/bluetooth/active_update_coordinator.py", line 122, in _async_poll_data
    return await self._poll_method(last_service_info)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hass_nuki_bt/coordinator.py", line 119, in _async_update
    elif logs[0].index > self.last_nuki_log_entry.index:
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'index'

Diagnostics dump

No response