Base class for all switches.
EngineeringModeSwitch()=default
void write_state(bool state) override
Implementation of SPI Controller mode.
bool state
The current reported state of the binary sensor.
Helper class to easily give an object a parent of type T.