This release is a minor one so it doesn't represent a breaking change. It updates the home-assistant-javascript-templates package to its latest version and refactors the code to support the latest changes in this dependency.
Previously, when custom-sidebar was executed, a WebSocket subscription was created to receive entity changes and be able to re-render the templates using them. This happened even if the configuration didn't contain any JavaScript template. After updating the home-assistant-javascript-templates package, the code has been modified to start the WebSocket subscription only when a JavaScript template that executes variables or methods susceptible to changes is executed. If the configuration doesn't use JavaScript templates or the JavaScript templates don't execute any reactive variable or method, then the WebSocket subscription is not created.
🚀 Features
- Do not subscribe to WebSocket by default
- PR: #715 by @elchininet
🧩 Dependencies
- [Dependencies]: Bump the dependencies-dev group with 4 updates
- PR: #709 by @dependabot[bot]
- Solve vulnerabilities
- PR: #710 by @elchininet
- [Dependencies]: Bump the dependencies-dev group with 2 updates
- PR: #713 by @dependabot[bot]
- [Dependencies]: Bump js-yaml from 5.2.3 to 5.3.0 in the dependencies-prod group across 1 directory
- PR: #712 by @dependabot[bot]
- Do not subscribe to WebSocket by default
- PR: #715 by @elchininet