Helper class to easily give an object a parent of type T.
DFRobotSEN0609Component * parent_
DFRobotSEN0609Switch(SwitchSetting setting)
void write_state(bool state) override
Base class for all switches.
bool state
The current reported state of the binary sensor.
SwitchSetting
Settings shown as switch entities.