2.4.7
🐛 Bug Fixes
Fixed crash when price data is incomplete - The integration no longer crashes with "mean requires at least one data point" when the Nordpool API returns incomplete or missing price data for a region. This was causing sensors to stay at 0°C with no boost/save functionality.
Fixed peak hour calculation - Peak hours were incorrectly calculated as hours 9-17 instead of 8-20. This is now corrected.
Fixed tomorrow vs today average comparison - The
price_percent_to_average
calculation was using the wrong day's average.
Improved stability - Added proper handling for edge cases to prevent crashes when data is unavailable.
Full Changelog: v2.4.6...v2.4.7