9namespace analog_threshold {
14 void setup()
override;
Function-pointer-only templatable storage (4 bytes on 32-bit).
void set_lower_threshold(T lower_threshold)
void dump_config() override
TemplatableFn< float > upper_threshold_
TemplatableFn< float > lower_threshold_
void set_upper_threshold(T upper_threshold)
void set_sensor(sensor::Sensor *analog_sensor)
Base class for all binary_sensor-type classes.
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.