Release Notes: Version 2.4.0 Beta 2
Pre-release
Pre-release
This beta release addresses a critical bug from the initial 2.4.0 beta where out-of-season ski resorts were still being incorrectly reported as "Open". It significantly enhances the accuracy of seasonal dates and localized keyword parsing to ensure highly reliable status reporting.
Bug Fixes
- Accurate Seasonal Status Recalculation: Fixed an issue where the
Statussensor would incorrectly report "Open" for ski resorts outside their operational season. The status now rigidly respects the newly extractedseason_start,season_end, andoperating_hoursboundaries. - Improved Data Fallback Logic: The parser will now actively fallback and fetch the resort's main page if the primary
season_startinformation is missing on subpages (like/schneebericht/), ensuring the seasonal dates are correctly propagated to the sensors. - Italian Localization Fix: Fixed the keyword parsing for the Italian Bergfex portal to correctly identify seasonal boundaries using the localized "Stagione" and "Orario" labels.
Documentation & Tests
- Updated Sensor Documentation: Added documentation in
README.mdto highlight the new seasonal attributes now available directly on theStatussensor:price,season_start,season_end,operating_hours_start, andoperating_hours_end. - Enhanced Test Coverage: Added comprehensive
pytestcases to the test suite to simulate out-of-season and in-season status evaluations, validating the new fallback logic against mockedConfigEntryworkflows.