Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than 10 activities #132

Open
nckslater opened this issue Nov 28, 2023 · 2 comments
Open

More than 10 activities #132

nckslater opened this issue Nov 28, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@nckslater
Copy link

Hi,

Thank you SO much for this custom integration!!!

I have written a sensor to calculate the distance run in a week automatically in HA and setup some input_numbers to show my weekly/ distance goals on a dashboard.

I have been training hard and found I ran over 10 activities in a week however this integration only pulls the latest 10 activities.

Is it possible to get a few more activities pulled in?

Thanks

@craibo
Copy link
Owner

craibo commented Nov 30, 2023

Hi @nckslater
Sure, I can re-work this to support more activity entities.

Out of interest, what are you using from the entities that you need more of them?

The logic will always show you the latest activity as Activity 0, so if you look at the history of Activity 0 you would see it change for each activity you log.

@craibo craibo added the enhancement New feature or request label Nov 30, 2023
@craibo craibo self-assigned this Nov 30, 2023
@nckslater
Copy link
Author

Hi. Thanks for getting back to me.

It's the distance sensor (starts with strava_0_3) that I'm looking at a few more of.

I have HA configured to add up all the distances to show my weekly distance however the odd week I run over 10 activities. It's not a big deal as I have created a sensor that stores the last distance sensor (strava_9_3) value and if I have run 11 runs it adds it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants