SafeModeComponent provides a safe way to recover from repeated boot failures.
void dump_config() override
SafeModeComponent * safe_mode_component_
void write_state(bool state) override
void set_safe_mode(SafeModeComponent *safe_mode_component)
Base class for all switches.
bool state
The current reported state of the binary sensor.
Providing packet encoding functions for exchanging data with a remote host.