32 void setup()
override;
Base class for all switches.
void set_pulse_length(uint32_t pulse_length)
void dump_config() override
float get_setup_priority() const override
void set_on_pin(GPIOPin *pin)
void set_off_pin(GPIOPin *pin)
void write_state(bool state) override
Implementation of SPI Controller mode.
void set_wait_time(uint32_t wait_time)
void set_optimistic(bool optimistic)
bool state
The current reported state of the binary sensor.