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