librelink icon indicating copy to clipboard operation
librelink copied to clipboard

Issue identified :

Open Kjelle1 opened this issue 5 months ago • 2 comments

** Which country are you from ** Sweden

Describe the bug API update?

Log file Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/librelink/init.py", line 41, in async_setup_entry await api.async_login(username=username, password=password) File "/config/custom_components/librelink/api.py", line 157, in async_login self._account_id = response["data"]["user"]["id"] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ KeyError: 'id'

Screenshots

Additional context The integration has worked as a charm for a long time and now it stopped working all of a sudden. Maybe Libre have made a API update that crashed something? Version 1.2.3 Installation method Home Assistant OS Core 2025.7.2 Supervisor 2025.07.1 Operating System 16.0 Frontend 20250702.2

Kjelle1 avatar Jul 21 '25 18:07 Kjelle1

@Kjelle1 1.To solve issue, you need to download libre link app on your phone and accept 'license'. It should solve issue.

xamrex avatar Jul 21 '25 20:07 xamrex

Yeah, thank you @xamrex I logged out and in again in the app and accepted the license and that solved everything! Thank you again!

Kjelle1 avatar Jul 21 '25 21:07 Kjelle1