Hi everyone,
I’m having an issue with my custom Home Assistant integration (Mantel Mount Remote) that I added to HACS. The integration is not working because HACS is failing to copy the required files to the www/community/mantel-mount-remote/ directory. Here’s what I’ve done so far:
Created a valid hacs.json file in the repository root:
JSON
{
“name”: “MantelMount Remote”,
“content_in_root”: false,
“zip_release”: false,
“render_readme”: true,
“hacs”: “1.6.0”,
“homeassistant”: “2023.9.0”,
“description”: “Control your MantelMount lift system with Home Assistant, including directional control and presets.”,
“filename”: “dist/mantel-mount-remote/mantel-mount-remote.js”,
“additional_files”: [
“dist/mantel-mount-remote/mantel-mount-remote-editor.js”,
“dist/mantel-mount-remote/logo.svg”,
“dist/mantel-mount-remote/logo-dark.svg”,
“dist/mantel-mount-remote/logo-opacity.svg”,
“dist/mantel-mount-remote/mantelmount-logo.png”,
“dist/mantel-mount-remote/mantelmount-logo-dark.png”,
“dist/mantel-mount-remote/mantelmount-logo-opacity.png”
],
“keywords”: [“mantelmount”, “remote”, “lovelace”],
“authors”: [“jliggero”],
“documentation”: “GitHub - jliggero/mantel-mount-remote: Home Assistant integration for controlling the Mantel Mount lift system, including directional controls and preset positions.”,
“iot_class”: “local_push”,
“logo”: “brands/mantel_mount_remote/logo.svg”,
“branding”: {
“logo”: “brands/mantel_mount_remote/logo.svg”,
“logo_dark”: “brands/mantel_mount_remote/logo-dark.svg”,
“logo_opacity”: “brands/mantel_mount_remote/logo-opacity.svg”
}
}
Published a new release (v1.0.1) on GitHub, ensuring the required files (mantel-mount-remote.js, mantel-mount-remote-editor.js) were uploaded as assets.
Verified the structure of the release matches HACS expectations (files are not zipped or misplaced).
Checked permissions on the www/community folder (rwxr-xr-x) and confirmed other integrations work fine.
Enabled HACS debug logging, but I didn’t see any explicit errors related to why it’s failing to move the files.
Symptoms:
The integration appears in HACS, but the required files are not copied to the community folder.
Manually placing the files works, but I’d like to resolve this issue with HACS.
Question:
What could be causing HACS to fail to copy the files, and how can I troubleshoot or fix this? Is there something I missed in the repository setup, the release, or the HACS process?