Giter VIP home page Giter VIP logo

Comments (5)

moorboss avatar moorboss commented on June 1, 2024 1

It i snot about fixing it with alarms. The problem is about registred gear in Garmin Connect which is (temporarily) not in use. When removing those items, it worked like a flaw. (maybe good to add to the known issues!

from home-assistant-garmin_connect.

moorboss avatar moorboss commented on June 1, 2024

AFter a while, it turns out to be that the plugin tries to login several times and gets kicked out by Garmin connect for a while. So even I cannot connect anymore with my mobile phone or webbrowser to Garmin connect.

from home-assistant-garmin_connect.

moorboss avatar moorboss commented on June 1, 2024

Tobe sure that there is nothing wrong with my HA installation, I have been trying to connect with the garmin account of my wife. That works as a charm. SO the culprit must be my Garmin account.

Thi is the error message:
Unexpected error fetching garmin_connect data: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/garmin_connect/init.py", line 99, in _async_update_data
alarms = await self.hass.async_add_executor_job(self._api.get_device_alarms)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/garminconnect_ha/init.py", line 206, in get_device_alarms
alarms += device_settings["alarms"]
TypeError: 'NoneType' object is not iterable

Any thoughts?

from home-assistant-garmin_connect.

cyberjunky avatar cyberjunky commented on June 1, 2024

Just create an alarm, and disable it was the fix I think.

from home-assistant-garmin_connect.

PointingP avatar PointingP commented on June 1, 2024

Removing gear in Garmin Connect did not fix the issue, unless it's also about Golf clubs (I don't even play golf), which can't be removed - when you remove the last club it repopulates the Golf gear list with a bunch of clubs?!

from home-assistant-garmin_connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.