v1.8.2 — Deadline force-start for regular devices
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_heuteis ON → device force-starts on grid, same as SD devices muss_heuteis 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.