Skip to content

Release 2.0.0

Choose a tag to compare

@grexha grexha released this 11 Dec 22:10
· 432 commits to main since this release
488dfef

Release 2.0.0

🎯 What's New

Major Features

  • Device Hierarchy: Separation into main devices and sub-devices for better organization and clearer entity structure
  • Multilingual Support: Comprehensive translations in German and English for all entity names
  • Heating Curve Calculation: Intelligent heating curve calculation with three support points (cold, mid, warm) and automatic flow temperature calculation
  • Compressor Start Cycling Sensor: New cycling sensor for tracking compressor start events with total, daily, 2h, 4h, and monthly variants

Improvements

  • External Energy Sensor Validation: Enhanced validation with Entity Registry fallback check
  • Write Interval Optimization: Reduced write interval from 41 seconds to 9 seconds for faster response times
  • Performance Optimizations: Improved startup time and update cycles
  • State Normalization: Separate normalization methods for operating states and general states
  • Test Coverage: Added comprehensive tests for offset processing (cycling and energy consumption)

Bug Fixes

  • Fixed VERSION import issues in tests
  • Improved entity ID formatting in tests
  • Enhanced error handling for sensor validation

Documentation

  • New: HEATING_CURVE_CALCULATION.md - Documentation for heating curve calculation
  • Updated cycling sensors documentation
  • Enhanced various documentation files

📊 Statistics

  • Commits: 20+ commits
  • Files Changed: 30+ files
  • New Features: 4 major features
  • Improvements: 10+ improvements
  • Tests: New tests for offset processing

🔍 Key Changes

Code Changes

  • Enhanced coordinator.py with improved sensor validation and state normalization
  • Updated sensor.py with new cycling sensors and offset handling
  • New number.py for number platform support
  • Enhanced utils.py with improved energy sensor validation

Test Changes

  • Added tests for cycling offset application
  • Added tests for energy consumption offset application
  • Fixed test entity ID formatting issues
  • Removed unnecessary VERSION tests

Documentation

  • Comprehensive offset processing documentation
  • Heating curve calculation guide
  • Updated changelog

✅ Testing

All tests passing:

  • ✅ Cycling offset tests
  • ✅ Energy consumption offset tests
  • ✅ Entity ID formatting tests
  • ✅ Sensor validation tests
  • ✅ Migration tests

🚀 Deployment Notes

  • Breaking Changes: None
  • Migration Required: Automatic migration from previous versions
  • Configuration Changes: Optional new configuration options for heating curve and offsets

📝 Related Issues/PRs

  • Addresses sensor validation improvements
  • Implements offset persistence
  • Adds comprehensive documentation