v2.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 (9 → 7 menu items)
| Before | After |
|---|---|
| Sensors + Prices + Helper + Historical Data + Quota | Sensors & Power (all kWh + W + Peak), Tariff & Costs (prices + quota + installation), Amortization Persistence (helper + offsets) |
- Step IDs renamed:
prices→tariff,helper→amortisation - Removed:
offsets,quotastep handlers (fields now live under tariff/amortisation)
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.