v1.11.0 — Battery priority & run conditions
Two features straight from community feedback — thanks @psecker for both suggestions! 🙏
🔋 Battery priority (from discussion #9)
New optional toggle in the battery settings: Battery priority.
- On: only genuine grid export counts as surplus for devices — your battery charges first. If the battery is absorbing all solar (grid ≈ 0), devices stay off.
- Off (default): previous behaviour — power currently charging the battery may be diverted to devices; per-device SOC thresholds are the guard.
No breaking change: existing installs keep the old semantics until you flip the switch.
🌡️ Per-device run condition (from discussion #5)
Each device can now have an optional prerequisite: a condition sensor + below/above + limit. Example: water heater only runs while sensor.boiler_temp is below 55.
- Blocks every start path (surplus, cheap grid, even deadline force-start)
- Stops a running device once the condition is no longer met (respects min-on-time)
- Never interrupts a running washer/dishwasher program (startup detection) and never force-stops non-interruptible devices
- An unavailable sensor fails open, so a broken sensor can't strand your device
Configure both in the device dialog (Settings → Integrations → AURUM → Configure).
151 unit tests passing. Update via HACS, restart, enjoy.
🤖 Generated with Claude Code