11 enum ErrorCode { DEVICE_MARKING_READ_FAILED, MEASUREMENT_INIT_FAILED, UNKNOWN };
15 void setup()
override;
void set_temperature_sensor(sensor::Sensor *temperature)
const float DATA
For components that import data from directly connected sensors like DHT.
This class simplifies creating components that periodically check a state.
void set_formaldehyde_sensor(sensor::Sensor *formaldehyde)
void dump_config() override
void set_humidity_sensor(sensor::Sensor *humidity)
sensor::Sensor * temperature_sensor_
Implementation of a i2c functions for Sensirion sensors Sensirion data requires crc checking...
sensor::Sensor * formaldehyde_sensor_
Implementation of SPI Controller mode.
float get_setup_priority() const override
Base-class for all sensors.
sensor::Sensor * humidity_sensor_