Count HACS downloads with release ZIPs and a README badge - #1
Merged
Conversation
powerassistant
marked this pull request as ready for review
September 7, 2026 21:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HACS currently downloads the integration from repository sources, so its downloads have no GitHub release-asset counter. This change routes new releases through a named ZIP and displays its cumulative download count in the README.
Changes:
zip_releasewithsiemens_sentron.zipand prepare versionV26.09.10consistently.Validation:
c27b99e: Repository checks, HACS, Hassfest and Home Assistant runtime import. Validation run.To activate after merging: open Actions → Prepare release → Run workflow, choose
main, enterV26.09.10and release notes. Review the generated draft under Releases, then publish it withsiemens_sentron.zipalready attached.Counts start with downloads of the new asset and include updates and repeated downloads. Earlier source downloads cannot be recovered from these counters. Existing releases retain their original source-download configuration. The integration's device communication and controls are unchanged.
Icon investigation: both existing PNGs are valid and included in the ZIP. The HACS 2.0.5 overview still uses the older central brands CDN, which has no entry for
siemens_sentron. There is no supported integration-side configuration to override that list icon. The upstream change is tracked in hacs/integration#5388; the README now explains this limitation. This PR does not claim to fix that upstream HACS display issue.