Skip to content

Release Notes: Version 2.4.0 Beta 2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 May 12:24

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 Status sensor would incorrectly report "Open" for ski resorts outside their operational season. The status now rigidly respects the newly extracted season_start, season_end, and operating_hours boundaries.
  • Improved Data Fallback Logic: The parser will now actively fallback and fetch the resort's main page if the primary season_start information 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.md to highlight the new seasonal attributes now available directly on the Status sensor: price, season_start, season_end, operating_hours_start, and operating_hours_end.
  • Enhanced Test Coverage: Added comprehensive pytest cases to the test suite to simulate out-of-season and in-season status evaluations, validating the new fallback logic against mocked ConfigEntry workflows.