Skip to content

v1.12.0 — Per-device daily reset hour

Choose a tag to compare

@cm-makes cm-makes released this 08 Jul 13:31
4939714

Another one from the community — thanks @psecker! 🙏 (discussion #11)

⏰ Per-device daily reset hour

Each device now has an optional Daily reset hour (0-23, default 0 = midnight) in its config dialog.

Why: A pool pump on cheap_grid with a daily runtime target used to burn its whole target on cheap grid overnight (counter resets at midnight, cheap period starts 00:00), then sit blocked all through the solar day.

Now: Set the reset hour to e.g. 9, and the device's runtime/energy counters reset at 09:00 instead. It runs on solar first during the day and only tops up any runtime shortfall from cheap grid overnight — exactly aligned to the solar day.

Fully per-device (as @psecker suggested): different devices can have different reset hours. Default 0 = midnight, so nothing changes for existing setups unless you opt in.

157 unit tests passing. Update via HACS, restart.

🤖 Generated with Claude Code