Custom Component: HACS

Unless there are reported any more issues with the beta it will probably be released tomorrow(UTC).

7 Likes

You know one of the great things about hacs (besides the obvious convenience) is that I discover new custom integrations and lovelace cards just by cruising by the UI every now and then and looking for the new tag. Great stuff.

4 Likes

Same. But as its so easy now its finding the time to implement them all.
HACS is a game changer for HA in making it easy for new users to implement stuff.
Again @ludeeus hats off for creating HACS

6 Likes

Version 0.13.0 has been released

https://github.com/custom-components/hacs/releases/0.13.0

3 Likes

I can’t get HACS to install.
My config file:

hacs:
  token: blahblahblah

error message in logs:
2019-08-11 17:27:19 ERROR (MainThread) [homeassistant.components.hassio] Integration not found: hacs

Do I have to add anything to the custom components folder?

yes, you need to follow the installation instructions.
https://custom-components.github.io/hacs/installation/manual/

thanks. got it. silly me extracted it to a new custom component inside my existing custom component folder
Working now! :relaxed:

1 Like

Followed the instructions and installed 0.13 via ssh

Then I get :

Log Details (ERROR)

Sun Aug 11 2019 20:39:27 GMT+0200 (CEST)

Setup failed for hacs: Integration not found.

  • hacs

Please check your config., notification_id=invalid_config>
2019-08-11 18:39:28 INFO (MainThread) [homeassistant.setup] Setting up webhook
2019-08-11 18:39:28 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2019-08-11 18:39:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=webhook>
2019-08-11 18:39:28 INFO (MainThread) [homeassistant.setup] Setting up auth
2019-08-11 18:39:28 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2019-08-11 18:39:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=auth>
2019-08-11 18:39:30 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2019-08-11 18:39:30 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds.
2019-08-11 18:39:30 INFO (MainThread) [homeassistant.setup] Setting up api
2019-08-11 18:39:30 INFO (SyncWorker_9) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2019-08-11 18:39:30 INFO (MainThread) [homeassistant.setup] Setting up history
2019-08-11 18:39:30 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event panels_updated[L]>
2019-08-11 18:39:30 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2019-08-11 18:39:30 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=history>
2019-08-11 18:39:30 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.auth>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.entity_registry>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.group>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.auth_provider_homeassistant>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.automation>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.script>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.core>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.customize>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.device_registry>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.area_registry>
2019-08-11 18:39:31 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:

  • hacs

This means that you:

  1. Are missing expected files.
  2. Did not restart.

What is the meaning of the red colored entries? Actually I have Alexa media player and spotcast components in red and I have 0.96.5 release.

Pending restart

But I guess shh install as described in you tutorial should install all files ??
Using : Home Assistant 0.97.1
Restarted 3 * now…

yes, open issue @ github include the dir contents of the hacs dir. + startup logs.

1 Like

Ok, thanks!

Thnx, solved… wrong folder name… custom-components should be --> custom_components

Apparently I added a repository that is not supported with HACS (which I didn’t know was even a thing), and now after updating HACS I get

500 Internal Server Error
Server got itself in trouble

What can I do to fix this? Is there a config where I can delete the custom_component that I installed, or is it enough to simply delete the faulty component from the custom_components folder?

i don’t think u can install an unsupported component

After the update have you restarted HA?

Haven’t restarted yet - is that mandatory?

after an update of HACS yes

1 Like

and after adding a custom_component as well