when we do an update via HACS does it copy over all files from the repo ?
How could we add specific “file lock” in the .storage ?
No. https://custom-components.github.io/hacs/faq/#files-downloaded-for-integrations
Remember that you will have users not using this, keep it simple for everyone
You don’t, just point there in your code, that location is not touched by anything.
hass.conifg.path('.storage/sinope_devices')
Ok so I will move devices.json in .storage/sinope_devices.json so it won’t be overwritten. Then point to hass.config.path('.storage/sinope_devices.json')
in my code.
When fixed, how do I tell HACS about my repo so others are aware it’s available? is there a list of available integrations in HACS where I can add them?
thank you. where do you take the small description for each custom component. It is not written in the manifest.json ?
The description of the repository on GitHub
big time hac fan, such awesome work but I’m still trying to understand why Home Assistant doesn’t recognize “hacs” as a valid config option
Testing configuration at /usr/share/hassio/homeassistant/ Failed config General Errors:
- Component not found: hacs Successful config (partial)
The author doesn’t seem to think this is a problem w/ HAC’s and closes all github issues opened under his project to that effect
Added a pull request to add my two repo for Sinopé tech devices management in Home Assistant.
Thank you,
Have you split your configuration up? And put HACS: is a separate file from configuration.yaml?
No, I’ve put it in the main one
If it was, everyone would have that issue
"Component not found: hacs "
This can be one of two things:
- You did not restart HA after copying the files, and before adding it to config.
- It’s in the wrong location/are missing files.
Same issue here
HACS was working perfectly, then suddenly after the restart for the update to v 11, the community menu on the left disappeared and now in the config I have the error that hacs cannot be setup.
From logs I get this error:
2019-07-08 17:51:30 ERROR (MainThread) [homeassistant.config] Unable to import hacs: cannot import name 'HacsLogger' from 'custom_components.hacs.hacslogger' (/config/custom_components/hacs/hacslogger.py)
Any hints?
Thanks a lot to everyone
EDIT: well, for some reason I found that the file was empty and copied it manually, now working
I must be stupid.
I’m getting: Unable to import hacs: No module named ‘custom_components.hacs.handler.download’
Files are copied and hacs and token added to configuration.yaml.
Sounds like a file is missing or contains no data, check all your files in the hacs directory against the ones on github.
Any way to customize AppDaemon apps folder in HACS? My AppDaemon apps folder is in Home Assistant config folder /config/apps
.
Thanks, recopied the files and it’s working. No idea what I did wrong with the files the first time.
But I don’t want to change location of apps folder . I want to change location where HACS will install AppDaemon apps. HACS reads this app_dir
from configuration?
No, and not possible to change in HACS, possible to change in AD.
OK, thanks for answer.