sensor::Sensor * humidity_
This class simplifies creating components that periodically check a state.
void dump_config() override
void set_temperature(sensor::Sensor *temperature)
void update() override
Update the sensor values (temperature+humidity).
void set_humidity(sensor::Sensor *humidity)
Implementation of SPI Controller mode.
float get_setup_priority() const override
sensor::Sensor * temperature_
Base-class for all sensors.
This Class provides the methods to read/write bytes from/to an i2c device.