feat: allow Sticky LS state to persist across EM or optionally across reboot (#4978)

This commit is contained in:
philmoz
2024-06-02 16:22:36 +10:00
committed by GitHub
parent 0399858a76
commit b16524837a
26 changed files with 121 additions and 46 deletions
@@ -76,6 +76,8 @@ class LogicalSwitchData {
unsigned int delay;
unsigned int duration;
int andsw;
bool lsState;
bool lsPersist;
void clear() { memset(this, 0, sizeof(LogicalSwitchData)); }
bool isEmpty() const;