18 void setup()
override;
sensor::Sensor * temperature_sensor_
void set_co2_sensor(sensor::Sensor *co2)
float get_setup_priority() const override
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
This class implements support for the ee895 of temperature i2c sensors.
sensor::Sensor * co2_sensor_
This class simplifies creating components that periodically check a state.
void dump_config() override
enum esphome::ee895::EE895Component::ErrorCode NONE
uint16_t calc_crc16_(const uint8_t buf[], uint8_t len)
sensor::Sensor * pressure_sensor_
Implementation of SPI Controller mode.
void write_command_(uint16_t addr, uint16_t reg_cnt)
Base-class for all sensors.
This Class provides the methods to read/write bytes from/to an i2c device.
void set_pressure_sensor(sensor::Sensor *pressure_sensor)