Giter VIP home page Giter VIP logo

Comments (2)

craibo avatar craibo commented on June 15, 2024

Hi @Chreece

I extended the activity devices to include all the useful values i could find in the API reposnes from Strava.
I haven't got to refactoring the setup of the Strava integration piece yet as you should no longer need to choose what sensors you want for an activity device.

The quick fix for the error is:

  1. Go to the integration on HA (Settings -> Devices and Service menu)
  2. Find the HA Strava 2.0 integration and select CONFIGURE
  3. Immediately select SUBMIT on the popout modal. This will open the sctivity configuration
  4. Select the activity type. Do NOT change the sensor dropdowns
  5. Scroll to the bottom and select SUBMIT
  6. Repeat the steps 2 - 5 for each of your activites you want to see.

The service will now reload and the IndexError: list index out of range issue should no longer occur.

Note: I have noticed that the Strava Summary device entities sometimes get disabled after the restart. You may need to re-enable these if this occurs.
The easiest option to do this is to:

  1. Select the Entities menu on the at the top of the Integrations page
  2. In the hambirger menu on the right of the search bar select Show disabled entities
  3. Search for strava_stat
  4. Select the box to select all which will then replace the search bar with some options
  5. Select ENABLE SELECTED

These should become available with values in a short period of time. If not they will be there on a restart.

Apologies for the issues, I'm hoping to have this annoying bug fixed shortly.

from ha_strava.

Chreece avatar Chreece commented on June 15, 2024

Yes, that did the trick! Thank you!

from ha_strava.

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.