Installation
You can install the plugin manually or through HACS, not both. If you install the plugin using the two installations methods you could have issues or errors.
Through HACS
- Go to
HACS
dashboard - Search for
custom-sidebar
and click on it - On the plugin page, click on the
Download
yellow button in the bottom-right corner - Click on
Download
in the more-info dialog - When the plugin is already downloaded, add the url of the plugin as an extra_module_url in your
configuration.yaml
:
- If you want to use a YAML configuration
- If you want to use a JSON configuration
configuration.yaml
frontend:
extra_module_url:
- /hacsfiles/custom-sidebar/custom-sidebar-yaml.js
configuration.yaml
frontend:
extra_module_url:
- /hacsfiles/custom-sidebar/custom-sidebar-json.js
- Restart Home Assistant
Important
- Do not get creative with the path of the plugin, use the provided one. If you have
HACS
installed the hacsfiles custom path will be there even if you cannot see it in your filesystem. - Do not forget to restart Home Assistant.
Manual installation
- Download the latest custom-sidebar release
- Copy
custom-sidebar-yaml.js
orcustom-sidebar-json.js
into<config directory>/www/
(depending on the configuration format that you are going to use,YAML
orJSON
) - Add the url of the plugin as an extra_module_url in your
configuration.yaml
:
- If you want to use a YAML configuration
- If you want to use a JSON configuration
configuration.yaml
frontend:
extra_module_url:
- /local/custom-sidebar-yaml.js?v1.0.0
configuration.yaml
frontend:
extra_module_url:
- /local/custom-sidebar-json.js?v1.0.0
- Restart Home Assistant
Important
- Do not forget to restart Home Assistant.
tip
It is recommendable that you add the plugin's version at the end of the URL as a parameter (e.g. ?v=1.0.0
) to force Home Assistant to load the new version instead of a version stored in cache. This step is not mandatory, but if you start suffering from caching issues, this would be one of the first steps to perform.