12 void setup()
override;
Base class for all binary_sensor-type classes.
void dump_config() override
binary_sensor::BinarySensor * source_
void set_source(binary_sensor::BinarySensor *source)
float get_setup_priority() const override
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.