7 namespace homeassistant {
12 void setup()
override;
Base class for all switches.
void set_entity_id(const std::string &entity_id)
void write_state(bool state) override
float get_setup_priority() const override
void dump_config() override
Implementation of SPI Controller mode.
bool state
The current reported state of the binary sensor.