Base class for all switches.
value_type const & value() const
std::function< void(bool)> state_lambda_
void set_control_lambda(std::function< void(bool)> state_lambda)
optional< bool > initial_state_
Implementation of SPI Controller mode.
void write_state(bool value) override