v4.1.0 — PV Surplus Sensors + Log-Flood Fix
New Feature: PV Surplus Sensors
- 3 binary sensors
pv_management_pv_ueberschuss_{low,medium,high}with auto-derived thresholds (5/15/30 % of PV peak power) - Hysteresis 50 %, ON-delay 5 min, OFF-delay 10 min (anti-flicker)
- New numeric sensor
pv_management_pv_ueberschuss(W, live) - New optional config field
house_power_entity(W) for surplus = PV power minus house power
For PV-aware consumers (heat pump cooling, washing machine, dishwasher, EV wallbox).
Bug Fix
- Removed
_quota_day_start_meterreferences insensor.py(AttributeError flooded logs, brokeextra_restore_state_data) - Closes #12, #13, very likely also #9
Upgrade
After HACS update: restart HA, then in the options under "Configure sensors" point the new field House power (W) at your power consumption sensor (W).