14 void setup()
override;
Helper class to easily give an object a parent of type T.
GreeModeBitSwitch(const char *name, uint8_t bit_mask)
void write_state(bool state) override
void dump_config() override
Base class for all switches.
bool state
The current reported state of the binary sensor.
Providing packet encoding functions for exchanging data with a remote host.