16static const char *
const TAG =
"shutdown.switch";
24 ESP_LOGI(TAG,
"Shutting down...");
32 esp_deep_sleep_start();
void run_safe_shutdown_hooks()
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.
Providing packet encoding functions for exchanging data with a remote host.
void IRAM_ATTR HOT delay(uint32_t ms)
Application App
Global storage of Application pointer - only one Application can exist.