Custom Component: HACS

Don’t bother, I sat there yesterday evening for about 20 minutes, waiting for the scroll line to stop. It was then, I noticed I had to push the button. :smiley: :smiley: :smiley:

Don’t feel stupid, I’m quite sure, we are not the only ones… :wink:

Sometimes I feel like we are monkeys.
Trained to do a series of clicks because we have been trained (indoctrinated) into doing so.
Thanks for the support.
carltonb

1 Like

You are not alone, and I have pushed an update to clarify.

No, no, that wasn’t meant as an issue. It’s just not reading. :slight_smile:
I normally read all instructions, especially since I’m developer myself. But sometimes, it’s just “stupid me”. :crazy_face: I read here in the thread, it will take around five minutes, and so I sat there, thinking about using a Pi4 for the future, to speed up things. After a while, I got bored, thinking about that and so I read the text… :joy: :joy:

Really, nothing to do for you @ludeeus , if I’m not able to read, I propably shouldn’t install anything. :smiley: :smiley: :smiley:

Where can I find the error log for HACS? I tried adding the “jrlucier/eero_tracker” integration component via HACS and it is silently failing in the UI. Nothing appears in home-assistant.log (as expected since HACS runs outside of HA), no log file is accessible via the HACS UI, and I can’t find the add-on’s log file. Thanks for any pointers!

1 Like

Firstly, thanks for such an awesome bit of work @ludeeus! I’ve only just started playing with HACS but I can already see how much easier it will make life when dealing with custom components.

That being said, I have found some odd behaviour since installing it. I’m running 0.102.3 and HACS 0.20.4, and since setting it up I’ve found that refreshing my browser or carrying out various tasks will immediately log me out of hass (I’ve replicated in multiple browsers). It seems that there are no longer any cookies set for hass - this was never a problem prior to HACS. Any idea what is going on here?

No, open an issue.

Trying to install HACS on latest 103.5 version. I have put the files from the zip in the custom components dir (as already there is a custom component for my Lyric thermostat running), but the component doesn’t show up in the integrations page.

In my logs I only see the message “2020-01-04 00:30:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

Any idea what I’m missing? I followed the setup instructions of HACS on the website

Clear your cahce, make sure you have the .translations dir

The .translations dir does not show up in the zipfile. Is this correct?

no.
Like all other directories that starts with . it’s hidden by default on most OS’s

1 Like

Thanks @ludeeus! It was indeed not showing on my Chromebook. I thought this was not the problem, but it now shows it was. Downloaded again on my Windows machine and the dir is showing and running fine now!

Hi all, I installed HACS, uninstalled custom_updater and all my custom cards don’t work any more, is this normal? I removed the customcard prefix from the path of the ones that I tracked with the old custom_tracker but it didn’t seem to help.

You don’t really need to reinstall everything through HACS do you? Many of my cards are not there.

How do you install custom cards that aren’t included in HACS?

You need to reinstall then through HACS yes.
For cards not in HACS, manually put them in the community directory like hacs does with custom cards and edit lovelace to community_plugin like other cards eg:

resources:
  - url: /community_plugin/lovelace-card-tools/card-tools.js
    type: js

If it doesn’t work that way then try (only for non-HACS cards)

resources:
  - url: /community/lovelace-card-tools/card-tools.js
    type: js

(only for non HACS cards)
/community_plugin is an endpoint that points to the /community directory so it should work…

1 Like

Thanks, I’ve got the ones added now that are supported but a bit stuck on the ones that aren’t… Maybe I’m being thick, but is there any instructions on how to add a custom repository? I went to settings and added a few, it just asked me name and category, nothing else, and they never showed up in the list… There must be more to this process, no?

https://hacs.xyz/docs/navigation/settings#custom-repositories

Sorry, don’t know how I missed that. I guess I was focusing too heavily on the configuration section thinking it would be there.

HACS stopped working properly since yesterday. I have the version 0.20.4 on hassOS 3.7

The progress bar on the top keeps loading non-stop, therefore when I try to make any operation it says “Action is disabled while background tasks is running.”

Tried both Safari and Chrome.

I have this error in the logs;

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/hacs/hacsbase/__init__.py", line 302, in recuring_tasks_installed
    await self.factory.execute()
  File "/config/custom_components/hacs/hacsbase/task_factory.py", line 24, in execute
    await asyncio.gather(*self.tasks)
RuntimeError: cannot reuse already awaited coroutine

Restart HA