Comments (2)
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:
- Go to the integration on HA (Settings -> Devices and Service menu)
- Find the HA Strava 2.0 integration and select CONFIGURE
- Immediately select SUBMIT on the popout modal. This will open the sctivity configuration
- Select the activity type. Do NOT change the sensor dropdowns
- Scroll to the bottom and select SUBMIT
- 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:
- Select the
Entities
menu on the at the top of theIntegrations
page - In the hambirger menu on the right of the search bar select
Show disabled entities
- Search for
strava_stat
- Select the box to select all which will then replace the search bar with some options
- 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.
Yes, that did the trick! Thank you!
from ha_strava.
Related Issues (20)
- Requires a public URL HOT 1
- extract bike data from My Profile
- Feature request: Service to update activities
- integrations dosnt connect
- Request: Add 2 Accounts HOT 1
- HA 2025.1 functions
- All activity types HOT 3
- YtD & Lifetime stats are wrong HOT 8
- invalid suggested_unit_of_measurement
- issues since upgrading to 2024.3.1 HOT 3
- Can Strava get access through Cloudflare Tunnel with a reliable IP or other authentication method? HOT 3
- Add a second entry for a second account HOT 1
- Expected str HOT 2
- Need to restart HA to get Strava sensors updates HOT 9
- Detected that custom integration 'ha_strava' calls async_create_task from a thread at custom_components HOT 5
- Further issues with HA Strava after 2024.5.2 update (simialr to #153) HOT 2
- Not handling Co-routine correctly
- ha_strava' calls async_create_task from a thread at custom_components/ha_strava/__init__.py, line 824 HOT 1
- Potential issues with Strava integration HOT 2
- HA 2024.6 and latest strava version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_strava.