Skip to content

v1.8.2 — Deadline force-start for regular devices

Choose a tag to compare

@cm-makes cm-makes released this 24 Jun 06:22

Bug fix

Deadline / muss_heute had no effect on regular (non-SD) devices (#3)

_deadline_urgent() was only evaluated inside the startup-detection state machine. Devices controlled via a direct smart plug or switch went through a separate code path that only checked PV surplus — deadline and muss_heute were never evaluated there.

Fix:

  • Regular devices now check _deadline_urgent() before the surplus/budget logic
  • When the deadline window is reached and muss_heute is ON → device force-starts on grid, same as SD devices
  • muss_heute is also auto-reset when the daily runtime target is reached (was missing for non-SD devices)

Thanks to @EliasMET for the detailed report and diagnostics file.