17 void setup()
override;
22 unsigned char calc_crc8_(
const unsigned char buf[],
unsigned char from,
unsigned char to);
This class simplifies creating components that periodically check a state.
This class implements support for the hte501 of temperature i2c sensors.
sensor::Sensor * temperature_sensor_
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
float get_setup_priority() const override
sensor::Sensor * humidity_sensor_
unsigned char calc_crc8_(const unsigned char buf[], unsigned char from, unsigned char to)
enum esphome::hte501::HTE501Component::ErrorCode NONE
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
void dump_config() override
This Class provides the methods to read/write bytes from/to an i2c device.
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.