Hi,
since my log started to grow I was checking for repeated errors and found this:
2026-08-21 13:31:56.844 ERROR (MainThread) [custom_components.laifen_ble] Unexpected error updating listener 545735754704 for laifen_ble Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 202, in async_update_listeners update_callback() ~~~~~~~~~~~~~~~^^ File "/config/custom_components/laifen_ble/select.py", line 149, in _on_coordinator_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1213, in _async_write_ha_state ) = self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1119, in __async_calculate_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/select/__init__.py", line 148, in state current_option = self.current_option ^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/laifen_ble/select.py", line 60, in current_option self.device._current_mode_index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Laifen' object has no attribute '_current_mode_index'
Repeats every second...
Any chance for a quick fix?
Thank you,
Sascha
Hi,
since my log started to grow I was checking for repeated errors and found this:
2026-08-21 13:31:56.844 ERROR (MainThread) [custom_components.laifen_ble] Unexpected error updating listener 545735754704 for laifen_ble Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 202, in async_update_listeners update_callback() ~~~~~~~~~~~~~~~^^ File "/config/custom_components/laifen_ble/select.py", line 149, in _on_coordinator_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1213, in _async_write_ha_state ) = self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1119, in __async_calculate_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/select/__init__.py", line 148, in state current_option = self.current_option ^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/laifen_ble/select.py", line 60, in current_option self.device._current_mode_index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Laifen' object has no attribute '_current_mode_index'Repeats every second...
Any chance for a quick fix?
Thank you,
Sascha