Repository navigation
⚠️ ⚠️ ⚠️ BREAKING CHANGE! READ BEFORE UPDATE ⚠️ ⚠️ ⚠️
This release is a major one and it is a breaking change. This version needs Home Assistant 2026.12.0 as the minimum version to work. So, if you are not already in this version of Home Assistant DO NOT UPDATE.
Fixed item_background_hover option
This release makes the item_background_hover option to start working in Home Assistant 2026.12.0. If you are not in this version of Home Assistant, the aformentioned option will not work and also will throw a JavaScript error in the console:
Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'e.shadowRoot.querySelector(${Ne.ANCHOR}, ${Ne.BUTTON}).querySelector(Re.HA_RIPPLE).shadowRoot')Rename of the plugin bundle
Important
This release brings a new way of loading the configuration of the plugin. As each method of loading the configuration is incompatible with the other, and to make it clearer which method a bundle uses, a suffix has been added to the end of each bundle name, provoking a breaking change because users need to take action and change their configuration depending on the method that they prefer to chose.
Until now, the only way to retrieve the configuration was through a public YAML file located in the /www folder which is mapped to the public /local alias. This was a concern for users that expose the Home Assistant instance to the internet (like the ones that use Nabucasa), because that means that anyone could access the custom-sidebar-config.yaml file and this configuration tends to have user names, entities names and other information that not many users want to have public on purpose.
If you don't expose your Home Assistant instance to the internet in any way, and you want to keep using the public configuration stored in the /www folder, you only need to rename the name of the bundle in the frontend > extra_module_url section in your configuration. But if you prefer to make this configuration private, then you need to follow extra steps.
If you are already in Home Assistant 2026.12.0 and you have updated the plugin, you need to follow one of the next migration paths:
For users that would like to keep the configuration in the public www folder
- Go to your
configuration.yamlfile and rename the path of the plugin bundle:
frontend:
extra_module_url:
- - /local/community/custom-sidebar/custom-sidebar-plugin.js
+ - /local/community/custom-sidebar/custom-sidebar-plugin-public.js- Restart
Home Assistant - And the most important part, clean cache from any place that could be caching the previous plugin bundle
For users that would like to move the configuration out of the www folder
- Move your
custom-sidebar-config.yamlfile from the/config/www/folder to the/config/folder - Create the next command_line sensor in your
configuration.yamlfile:
command_line:
- sensor:
unique_id: custom_sidebar_configuration
name: Custom Sidebar Configuration
command: |
python3 -c '
import json
from homeassistant.util.yaml import load_yaml
config = load_yaml("/config/custom-sidebar-config.yaml")
print(json.dumps({"config": config}, default=str))'
value_template: "OK"
json_attributes:
- config- In the same
configuration.yamlfile, rename the path of the plugin bundle:
frontend:
extra_module_url:
- - /local/community/custom-sidebar/custom-sidebar-plugin.js
+ - /local/community/custom-sidebar/custom-sidebar-plugin-sensor.js- Restart
Home Assistant - And the most important part, clean cache from any place that could be caching the previous plugin bundle
Note
- By default, the
command_linesensor will be updated every 30 seconds, so if you make changes in theYAMLconfiguration file, you will not be able to see those changes until the sensor is updated. - If you don't plan to update your configuration too often, you can add the scan_interval option with a value of
86400(24 hours). - To force an update of the
command_linesensor, you can go to theTools > Actionsdashboard and execute thehomeassistant.update_entityaction sendingsensor.custom_sidebar_configurationasentity_id.
🚀 Features
- Implement a sensor config fetcher
- PR: #777 by @elchininet
🛠 Fixes
- Fix flaky test
- PR: #767 by @elchininet
- Make plugin compatible with Home Assistant 2026.12.0
- PR: #773 by @elchininet
🧩 Dependencies
- [Dependencies]: Bump the dependencies-dev group with 5 updates
- PR: #766 by @dependabot[bot]
- Update home-assistant-javascript-templates to version 9.0.0
- PR: #764 by @elchininet
- [Dependencies]: Bump the dependencies-dev group with 2 updates
- PR: #768 by @dependabot[bot]
- [Dependencies]: Bump the dependencies-dev group with 4 updates
- PR: #779 by @dependabot[bot]
- [Dependencies]: Bump the dependencies-prod group across 1 directory with 2 updates
- PR: #778 by @dependabot[bot]
- Update home-assistant-query-selector to version 8.0.0
- PR: #780 by @elchininet
⚙️ Configuration
- Update pnpm to version 12
- PR: #769 by @elchininet
📝 Documentation
- Fix typo in documentation
- Implement a sensor config fetcher
- PR: #777 by @elchininet