16static void reset_and_reboot() {
22 ESP_LOGI(TAG,
"Resetting");
void factory_reset_device()
Run by the factory reset button.
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.