v1.0.0
Changes
This update transitions all energy sensors to Home Assistant, ensuring data persistence across reboots.
The new sensor architecture is structured as follows:
- Power Sensor: Measures total power consumption, including EV charging.
- Integral Sensor: Converts power (W) to energy (kWh) by applying a Left Riemann Sum, creating a continuous energy reading.
- Utility Meter: Aggregates the integral sensor’s energy data into a daily cycle, enabling daily consumption tracking.
- Average Sensors: Four sensors calculate rolling averages over 1, 3, 7, and 14 days based on daily consumption data.
These averages estimate hourly consumption, factoring in net consumption projections by accounting for PV surplus predictions from Solcast for each specific hour.
I also cleaned up the working sensor code and will continue to do so.
⚒️ Breaking Changes
Full Changelog: v0.2.6...v1.0.0