4 #include "../haier_base.h" Base class for all switches.
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.