void set_presence_sensor(binary_sensor::BinarySensor *bsensor)
binary_sensor::BinarySensor * presence_bsensor_
bool state
The current reported state of the binary sensor.
void on_presence(bool presence) override
void publish_state(bool state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.
Base class for all binary_sensor-type classes.
void dump_config() override