22 ESP_LOGI(TAG,
"Resetting");
static void factory_reset_callback()
void write_state(bool state) override
void dump_config() override
void publish_state(bool state)
Publish a state to the front-end from the back-end.
ESPHOME_LOG_TAG(TAG, "factory_reset.button")
OpenThreadComponent * global_openthread_component
ESPPreferences * global_preferences
void HOT delay(uint32_t ms)
Application App
Global storage of Application pointer - only one Application can exist.
bool reset()
Forget all unsaved changes and re-initialize the permanent preferences storage.