15static const char *
const TAG =
"shutdown.switch";
23 ESP_LOGI(TAG,
"Shutting down");
31 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.
void HOT delay(uint32_t ms)
Application App
Global storage of Application pointer - only one Application can exist.