v4.2.0 — shiftable_load + Settings Flow Refactor
New: PV-aware Load (anti self-consumption oscillation)
New optional config field PV-aware Load (W) under Sensors & Power.
Problem it solves: When your PV-aware consumer (e.g. heat pump) runs, it draws power and pushes house consumption up. Surplus drops below threshold — the consumer turns itself off, then surplus recovers, and the cycle starts over (flapping between ON and OFF).
Solution: The configured load's consumption is subtracted from house power, so surplus reflects what would be available WITHOUT that load.
Formula: surplus = pv_power - max(0, house_power - shiftable_load_power)
Refactor: Settings Flow consolidated
- PV peak power moved to Sensors & Power (next to other live values)
- Advanced Settings renamed to Recommendation Thresholds (clearer — now contains only the traffic light thresholds)
- Step IDs renamed:
prices→tariff,helper→amortisation - Cleaner menu labels
Existing setups stay functional — all stored CONF_* keys unchanged, only the UI grouping changes.
Upgrade
After HACS update: restart HA. Check options — all your previous values are preserved, just grouped under new menu items.