18 void setup()
override;
Helper class to easily give an object a parent of type T.
void dump_config() override
void apply_(bool state, bool transmit)
void write_state(bool state) override
HaierTundraSwitch(HaierTundra *parent, SwitchKind kind)
Base class for all switches.
bool state
The current reported state of the binary sensor.