v1.2.4
Release v1.2.4
Release Date: 2026-01-04
Type: Patch release - Recovery notifications and test infrastructure improvements.
What's Changed
🐛 Bug Fixes
- Fixed recovery notification display - Switched from HA repair issues to
persistent_notificationfor
recovery notifications. When clicking the notification, the full message with timestamps now displays correctly. - Fixed duplicate notifications - Recovery notifications no longer appear twice after acknowledging.
🧪 Testing Improvements
- Improved test coverage - Increased from 87% to 95%+ with comprehensive test suite
- Fixed test infrastructure - Enabled full Home Assistant integration tests by switching from editable install
to direct install in CI workflow - Added pytest-homeassistant-custom-component - Proper plugin registration for HA testing
- Fixed test mocking - Corrected patch locations and mock patterns for HA services
🧹 CI/CD Improvements
- Updated lint workflow - Use
demjson3jsonlint for JSON validation - Added workflow run logs workaround - Documentation for getting test coverage from GitHub Actions
- Improved Release Readiness Checklist - Better format and verification steps
Files Changed
custom_components/sinapsi_alfa/coordinator.py- Recovery notification using persistent_notificationtests/conftest.py- Added pytest_plugins registrationtests/test_config_flow.py- Fixed test mocking patterns.github/workflows/test.yml- Changed to direct install methodrequirements-dev.txt- New file for dev dependenciesCLAUDE.md- Documentation improvements
Upgrade Notes
No breaking changes. This is a drop-in replacement for v1.2.3.
For Beta Testers
If you were using v1.2.4-beta.1, the recovery notification improvements are now stable and ready for production use.