5 #ifdef USE_DATETIME_DATE 20 void setup()
override;
46 #endif // USE_DATETIME_DATE void set_initial_value(ESPTime initial_value)
Trigger< ESPTime > * set_trigger_
A more user-friendly version of struct tm from time.h.
This class simplifies creating components that periodically check a state.
void set_template(std::function< optional< ESPTime >()> &&f)
ESPPreferenceObject pref_
Trigger< ESPTime > * get_set_trigger() const
void control(const datetime::DateCall &call) override
void set_restore_value(bool restore_value)
float get_setup_priority() const override
void set_optimistic(bool optimistic)
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
Implementation of SPI Controller mode.
void dump_config() override
optional< std::function< optional< ESPTime >)> > f_