name: validate-hacs description: Validate the HACS integration for compliance
Validate HACS
- Check
manifest.json: domain, name, version, requirements, codeowners, iot_class, config_flow - Check
hacs.json: name, render_readme, zip_release, filename - Check file structure:
custom_components/battery_controller/__init__.pypresent - Check
strings.jsonis an exact copy oftranslations/en.json - Verify version in
manifest.jsonmatchessetup.cfg[bumpversion] current_version - Check README.md is present at repo root
- Run hassfest if available:
python -m script.hassfest - Report issues and suggest fixes