18 ESP_LOGI(TAG,
"Shutting down");
26 esp_deep_sleep_start();
void safe_shutdown(uint32_t timeout_ms)
Run the safe shutdown hooks, give components up to timeout_ms to tear down, then run the powerdown ho...
void shutdown_device()
Run by the shutdown button and switch.
ESPHOME_LOG_TAG(TAG, "shutdown")
void HOT delay(uint32_t ms)
Application App
Global storage of Application pointer - only one Application can exist.