All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed issue #76: Negative temperatures (e.g. below 0°C) are now correctly accepted in sensor validation; validation uses float conversion instead of isdigit() so winter temperatures no longer cause failed or skipped updates
- Persistent storage for historical HDD and CDD data (prevents data loss on restarts)
- Field descriptions in configuration UI
- Default base temperature: 18°C for Celsius (was 65°C), 65°F for Fahrenheit (unchanged)
- Temperature unit now automatically detected from Home Assistant preferences
- Removed temperature unit field from configuration flow
- Fixed issue #57: Monthly and weekly degree days values no longer reset after Home Assistant restart
- Fixed excessive precision in degree days values by rounding to 1 decimal place
- Resolves GitHub issue #13: "round value - 15 numbers after the decimal is useless"
- Added Cooling Degree Days (CDD) calculation
- Added option to enable/disable weekly and monthly sensors
- Added improved debugging logs throughout the integration
- Added validation to ensure only temperature sensors can be selected
- Renamed integration from "Heating Degree Days" to "Heating & Cooling Degree Days"
- Improved calculation method for daily values using numerical integration
- Updated title display based on configured options
- Fixed sensor entity_id generation
- Changed sensor unit to display proper temperature unit per day (°C·d or °F·d)
- Fixed HACS validation issues
- Initial release
- Heating Degree Days (HDD) calculation
- Support for daily, weekly and monthly periods