siku2 / hass-komfovent-c5

Home Assistant integration for Komfovent C5 air ventilation systems.
MIT License
7 stars 2 forks source link

Cannot install via HACS - getting 404 from GitHub #40

Open dec-marcin opened 8 months ago

dec-marcin commented 8 months ago

Getting this kind of messages:

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:730
Integration: HACS (documentation, issues)
First occurred: 18:41:05 (1 occurrences)
Last logged: 18:41:05

Download failed - Got status code 404 when trying to download https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 730, in async_download_file
    raise HacsException(
custom_components.hacs.exceptions.HacsException: Got status code 404 when trying to download https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip

and indeed the file https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip is missing on GitHub, but mentioned in hacs.json. I am using following setup:

2024.1.5
Supervisor
2023.12.1
Operating System
11.4
User Interface
20240104.0

What am I missing?

siku2 commented 8 months ago

Woops, looks like I forgot to adjust the filename in the hacs.json file

dec-marcin commented 8 months ago

custom_components.hacs.exceptions.HacsException: Got status code 404 when trying to download https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip

Still getting the same error, but I see in the git repo the value in the file has been changed. Maybe Home Assistant is not refreshing the content or the missing file is mentioned elsewhere? How to clear appropriate HA cache?

"Refresh repository" (selected with red arrow) in the details in the top-right menu seems to have no effect at all :(

Zrzut ekranu 2024-01-26 o 22 38 37

Deleting and reinstalling HACS also brings nothing, it seems like HACS is stuck with the old cached version :(

siku2 commented 8 months ago

Should be fixed now.