Maintenance & Compatibility Update
Release Notes - v2.1.5
🔧 Maintenance & Compatibility Update
This release focuses on improving compatibility across a wide range of Home Assistant versions, specifically addressing issues with static path registration in older environments (pre-2024.7) and preparing for future changes in the Home Assistant core.
Fixed
- Home Assistant Compatibility: Resolved a critical "cannot import name 'StaticPathConfig'" error on Home Assistant versions older than 2024.7.
- Static Path Registration: Implemented a robust, multi-version fallback system for registering static resources. The integration now dynamically detects and uses the appropriate method (
async_register_static_pathsorregister_static_path) depending on the host environment. - Improved Reliability: Added a compatibility shim for
StaticPathConfigto ensure stable performance on older versions of Home Assistant while maintaining support for the latest features on newer versions. - Large File Handling: Removed the 2MB size warning for images and PDFs. These files are now opened directly as binary assets without interruption, while the safety warning remains for large text files to prevent editor performance issues.
Support
- Verified compatibility from Home Assistant 2024.1.0 through 2026.2.0+.