24 bool isConfigured()
const;
27 bool canActivate()
const override;
28 bool switchToWeeklySchedule()
override;
29 void restoreWeeklyScheduleMode(
bool enabled)
override;
30 bool isWeeklyScheduleEnabled()
const;
31 bool isManualActionAllowed(
bool turnOn)
const override;
32 void onManualAction()
override;
35 bool requiresReadyClock()
const override {
return true; }
36 void onWeeklyScheduleClockState(WeeklyScheduleClockState state)
override;
39 int programId,
bool programChanged)
override;
40 void syncWeeklyScheduleMode(uint8_t programMode)
override;
41 void scheduleWeeklyScheduleStateSave()
override;
42 bool isWeeklyScheduleValid(
45 bool applyWeeklyScheduleMode(uint8_t mode,
bool programChanged)
override;
46 uint8_t getCurrentProgramMode()
const;
49 const char *getDeviceLabel()
const override;
50 const char *getScheduleStorageTag(
bool alt)
const override;
52 bool alt)
const override;
55 void onNativeScheduleApplied(
bool alt,
bool local,
bool changed)
override;
56 void resetRuntimeOverride();
59 int programId,
bool programChanged,
bool manualAction);
61 Relay *owner_ =
nullptr;
62 int32_t occurrence_ = -1;
63 int32_t lastTimingQuarter_ = -1;
64 uint32_t phase_ = UINT32_MAX;
66 bool suppressed_ =
false;
67 bool pendingManualAction_ =
false;