From ad73280b1b1964565ed58c58d4f9fa95a569dead Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 27 Aug 2026 17:35:05 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20restore=20zip=5Frelease=20=E2=80=94=20th?= =?UTF-8?q?e=20HACS=20asset=20URL=20was=20never=20actually=20broken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert of caf6e6c3. The owner's field report disproved the diagnosis: HACS 2.0.5 downloads zip_release assets fine, because async_download_file strips the 'tags/' prefix from the composed URL before requesting (hacs/base.py) — the prefix only survives in the error-log message, which prints the unnormalized URL. The dacha installed every beta and v1.68.0 through HACS with zip_release active. The observed 'Failed to download' was a transient network failure fetching release-assets.githubusercontent.com (five retries exhausted, one occurrence), not a routing bug. Issue: #325 User-Visible: no (cherry picked from commit 5ad0c1cdc36f3c4519f6f4302ac4a5edd12a9c49) --- hacs.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hacs.json b/hacs.json index e6261fec..b654f82c 100755 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,7 @@ { "name": "House Plan (card + storage)", "render_readme": true, - "homeassistant": "2024.6.0" + "homeassistant": "2024.6.0", + "zip_release": true, + "filename": "houseplan.zip" }