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

Download counter shows wrong value #4438

Open
8 tasks done
ReneNulschDE opened this issue Feb 12, 2025 · 1 comment
Open
8 tasks done

Download counter shows wrong value #4438

ReneNulschDE opened this issue Feb 12, 2025 · 1 comment
Labels
issue:backend For issues with the backend/integration

Comments

@ReneNulschDE
Copy link

System Health details

System Information

version core-2025.3.0.dev0
installation_type Home Assistant Core
dev true
hassio false
docker false
user rene
virtualenv true
python_version 3.13.0
os_name Linux
os_version 6.11.0-14-generic
arch x86_64
timezone Europe/Berlin
config_dir /home/rene/.homeassistant

Checklist

  • I'm running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • I have read https://hacs.xyz/docs/help/issues/
  • This issue is related to the backend (integration part) of HACS.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This is a bug and not a feature request.
  • This issue is not a duplicate issue of currently open or issues pending release.

Describe the issue

The download counter shows a wrong value when more then one release assets exists per release.

Looks like the download counter takes the first element of the assets-list and not the asset defined by "filename" in the hacs.yaml

This relevant only whenever you have more then one release assets.

Reproduction steps

  1. Check the download count of the component mbapi2020 in the HACS Frontend --> will show something around 190
  2. Check the api result https://api.github.com/repos/ReneNulschDE/mbapi2020/releases --> will show something around 4000 for the mbapi2020.zip

Debug logs

n/a

Diagnostics dump

config_entry-hacs-478ee4727b99531cb5aa11759af967cd.json

@ReneNulschDE ReneNulschDE added the issue:backend For issues with the backend/integration label Feb 12, 2025
@hacs-bot
Copy link

hacs-bot bot commented Feb 12, 2025

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue:backend For issues with the backend/integration
Projects
None yet
Development

No branches or pull requests

1 participant