Snow, Slopes & Loipen – Bergfex Just Got Better ❄️
Thank you for using the Bergfex Snow Report integration. This release brings improved features, better reliability, and important enhancements to internationalization and parsing robustness.
Make sure to update the Bergfex Snow Report Card, too:
https://github.com/timmaurice/lovelace-bergfex-card/releases/tag/2.0.0
What’s New
🌍 Major Internationalization Improvements
This release introduces full multi-language support and improved handling of international Bergfex domains.
-
Multi-language Support
The integration now supports 18 languages with complete keyword parsing and translations:- Major: German, English, French, Italian, Spanish, Dutch
- Scandinavian: Swedish, Norwegian, Danish, Finnish
- Slavic / Central European: Czech, Slovak, Polish, Slovenian, Croatian
- Others: Hungarian, Romanian, Russian
-
Dynamic Domain Mapping
Automatically connects to the correct Bergfex top-level domain or subdomain based on your selected language. -
Improved Configuration Flow
A new multi-step setup guides you through:- Language selection
- Country selection
- Ski area selection
-
Robust Fallback Parsing
For languages not explicitly listed, the integration now relies on language-independent CSS classes and structural patterns, significantly improving resilience against website changes.
⛷️ Feature Enhancements
- Improved support for cross-country skiing (Loipen) pages
New sensors expose trail length, condition, and operational status when available. - Better understanding of different site layouts and localized content, improving long-term reliability.
Improvements You’ll Notice
- 100% verified data extraction accuracy across all 18 supported languages.
- More accurate snow depth, slope, lift, and trail values.
- Cleaner and more stable entity names and IDs (derived from ski area and sensor names).
- Faster fixes when Bergfex changes page structures thanks to improved parsing logic.
- Fix support for Polish language and small parsing bugs by @mironiasty
Bug Fixes & Technical Improvements
- Robust Data Extraction
Snow depths and lift/slope status now parse correctly even whendata-valueattributes are missing or malformed. - Timezone-Aware Dates
All timestamps now correctly use theEurope/Viennatimezone. - Translation Fixes
Corrected configuration flow labels for both English and German. - Improved HTML Handling
Stricter slope validation (counts and kilometers) and more resilient text extraction.
Testing & Reliability
- Expanded Test Suite
Parameterized tests now validate all 18 languages against real resort fixtures. - Robust CI/CD Pipeline
GitHub Actions execute the full test suite on every push and pull request.
🛠 Technical Notes
- Enhanced
test_parser.pyfor full language coverage - Refactored
get_text_from_ddfor better HTML robustness - Added
.github/workflows/tests.ymlfor automated testing
Important Notes for Existing Users
- Updating from an older version usually does not require reconfiguration.
Simply update and restart Home Assistant. - If you rely on custom scripts using internal integration behavior, please verify them after upgrading.
How to Upgrade
- HACS: Update the integration and restart Home Assistant.
- Manual install: Replace
custom_components/bergfexwith the new version and restart. - Verify entities under Configuration → Integrations.
Documentation
- Updated
README.mdwith new configuration and language support details. - Added comprehensive international test fixtures.
New Contributors
- @mironiasty made their first contribution 🎉
Full Changelog:
1.3.1...2.0.0
Happy skiing! 🎿❄️