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