elden1337 / hass-peaqhvac

Home Assistant custom component to help hvac-systems stay below peak hourly energy levels and prioritize cheap hours to heat your home.
Other
7 stars 2 forks source link

Peaqhvac fails to download from HACS #113

Closed enoch85 closed 3 days ago

enoch85 commented 2 months ago
This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/repositories/base.py:986
integration: HACS (documentation, issues)
First occurred: 08:18:39 (1 occurrences)
Last logged: 08:18:39

<Integration elden1337/hass-peaqhvac> Failed to download https://github.com/elden1337/hass-peaqhvac/releases/download/tags/3.0.1/peaqhvaq.zip

The real link is: https://github.com/elden1337/hass-peaqhvac/releases/download/3.0.1/peaqhvac.zip

I'm forced to manually upload, extract and enabled the plugin every time.

elden1337 commented 1 month ago

stuck in what to do here. the url you are seeing there is not something constructed by me when integrating to slack, and the release cycle seems just fine. I also see that there are downloads on latest versions.

however, i do get the same issue as you and have also gotten reports from others. I think this is an issue with HACS itself, probably that github is changing url-structures.

elden1337 commented 1 month ago

perhaps an issue here is needed https://github.com/hacs/integration/issues

elden1337 commented 1 month ago

According to this file it is trying to construct the correct url

https://github.com/hacs/integration/blob/719c76453f2ace722143aedfca238dbd0f1c7399/custom_components/hacs/utils/url.py#L29

But yet your log from it clearly shows a wrongly constructed url (what version of hacs are you on?)

So im gonna have to dig deeper into that repo in that case, ie i dont know when that could be resolved.

enoch85 commented 1 month ago

I'm on HACS 1.34.0.

Thanks for your efforts! <3

enoch85 commented 4 days ago

perhaps an issue here is needed https://github.com/hacs/integration/issues

So issue reported, and got this: https://github.com/hacs/integration/issues/3842#issuecomment-2200264596

enoch85 commented 3 days ago

Finally, download works! :100:

elden1337 commented 3 days ago

It is quite weird though since that typo has been there since 2022, but i guess a change on hacs made it mandatory.