home-assistant-garmin_connect: Unknown error occurred during Garmin Connect login request

Since update to HA 2024.12.2 I have this error

`Logger: custom_components.garmin_connect Bron: custom_components/garmin_connect/init.py:82 integratie: Garmin Connect (documentatie, problemen) Eerst voorgekomen: 12:06:16 (1 gebeurtenissen) Laatst gelogd: 12:06:16

Unknown error occurred during Garmin Connect login request Traceback (most recent call last): File “/config/custom_components/garmin_connect/init.py”, line 82, in async_login await self.hass.async_add_executor_job(self._api.login) File “/usr/local/lib/python3.13/concurrent/futures/thread.py”, line 58, in run result = self.fn(*self.args, **self.kwargs) File “/usr/local/lib/python3.13/site-packages/garminconnect/init.py”, line 239, in login self.display_name = self.garth.profile[“displayName”] ^^^^^^^^^^^^^^^^^^ AttributeError: ‘Client’ object has no attribute ‘profile’`

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 30 (7 by maintainers)

Most upvoted comments

It was working for me on 2024.12.1 and stopped with 2024.12.2

@sinanqasha no it never did, but there is a new version of underlaying lib which has that functionality, I will try to create a new version soon.

Maybe the python upgrade to home assistant core?