5 #ifdef USE_DATETIME_TIME 20 void setup()
override;
46 #endif // USE_DATETIME_TIME void set_initial_value(ESPTime initial_value)
ESPPreferenceObject pref_
A more user-friendly version of struct tm from time.h.
optional< std::function< optional< ESPTime >)> > f_
Trigger< ESPTime > * get_set_trigger() const
void set_optimistic(bool optimistic)
This class simplifies creating components that periodically check a state.
void set_restore_value(bool restore_value)
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.
float get_setup_priority() const override
void set_template(std::function< optional< ESPTime >()> &&f)
Trigger< ESPTime > * set_trigger_
void control(const datetime::TimeCall &call) override