This tool can help you manage your custom_components
for Home Assistant.
This will only manage the .py
files for you under custom_components/
,
you still need to manually add/remove entries in configuration.yaml
.
Only components/platforms the are generated with customjson
can be managed.
Platforms can only be managed if they the remote repository are using the new embedded structure that was introduced in 0.86.0
Home Assistant version 0.86 or newer is required to use this.
docker run -d \
--name custom-component-store \
-p 8100:8100 \
-v /path/to/HA/config:/config \
-e USERNAME=YOURUSERNAME \
-e PASSWORD=YOURPASSWORD \
ludeeus/custom-component-store:latest
/path/to/HA/config
must be the root of your Home Assistant configuration, and this has to be rw
.
If you use hass.io
this will be /usr/share/hassio/homeassistant
. You can also install the Hass.io Addon instead of the vanilla Docker container.
When the container is running point your browser to http://HOST:8100
ENV | Type | Description |
---|---|---|
USERNAME | String | Username for HTTP Basic Auth |
PASSWORD | String | Password for HTTP Basic Auth |
You still get to use this if you are not running Home Assistant in docker, but that is the easiest way to get started.
A Hass.io addon made by @antoni-k exists.
It's possible to use the regular Docker container on Hass.io as well.
If you use the generic hass.io
installer, use the instructions for docker.
If you use HassOS use the Community SSH or Portainer add-ons to run the docker container.
python3 -m pip install componentstore
Then run as the user running HA:
componentstore --nocache --username USERNAME --password PASSWORD --ha_path /home/homeassistant/.homeassistant
This is not created, developed, affiliated, supported, maintained or endorsed by Home Assistant.