7 static const char *
const TAG =
"output.lock";
virtual void turn_on()
Enable this binary output.
LockState state
The current reported state of the lock.
const optional< LockState > & get_state() const
virtual void turn_off()
Disable this binary output.
This class is used to encode all control actions on a lock device.
void dump_config() override
Implementation of SPI Controller mode.
output::BinaryOutput * output_
void publish_state(LockState state)
Publish a state to the front-end from the back-end.
void control(const lock::LockCall &call) override