13 ESPDEPRECATED(
"Use set_update_interval() instead. Removed in 2027.3.0",
"2026.9.0")
This class simplifies creating components that periodically check a state.
void set_update_interval(uint32_t update_interval)
Manually set the update interval in ms for this polling object.
ESPDEPRECATED("Use set_update_interval() instead. Removed in 2027.3.0", "2026.9.0") void set_write_interval(uint32_t write_interval)
float get_setup_priority() const override
void on_shutdown() override
constexpr float BUS
For communication buses like i2c/spi.
ESPPreferences * global_preferences
bool sync()
Commit pending writes to flash.