virtual void set_state(bool state)
Enable or disable this binary output.
void write_state(bool state) override
output::BinaryOutput * output_
void dump_config() override
void restore()
Drive the switch to the state its restore mode yields, through control(), so inversion and write_stat...
void publish_state(bool state)
Publish a state to the front-end from the back-end.
ESPHOME_LOG_TAG(TAG, "output.button")