9static const char *
const TAG =
"safe_mode.switch";
20 ESP_LOGI(TAG,
"Restarting device in safe mode...");
SafeModeComponent provides a safe way to recover from repeated boot failures.
void set_safe_mode_pending(const bool &pending)
Set to true if the next startup will enter safe mode.
void dump_config() override
SafeModeComponent * safe_mode_component_
void write_state(bool state) override
void set_safe_mode(SafeModeComponent *safe_mode_component)
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.