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