Skip to content

Download counter shows wrong value #4438

@ReneNulschDE

Description

@ReneNulschDE

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

Metadata

Metadata

Assignees

Labels

issue:backendFor issues with the backend/integration

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions