ESPHome 2026.5.1
Loading...
Searching...
No Matches
honeywell_hih.h
Go to the documentation of this file.
1// Honeywell HumidIcon I2C Sensors
2#pragma once
3
7
9
11 public:
12 void dump_config() override;
13 void loop() override;
14 void update() override;
15
16 void set_temperature_sensor(sensor::Sensor *temperature_sensor) { this->temperature_sensor_ = temperature_sensor; }
17 void set_humidity_sensor(sensor::Sensor *humidity_sensor) { this->humidity_sensor_ = humidity_sensor; }
18
19 protected:
23
24 private:
25 void read_sensor_data_();
26 void start_measurement_();
27 bool is_measurement_ready_();
28 void measurement_timeout_();
29};
30
31} // namespace esphome::honeywell_hih_i2c
This class simplifies creating components that periodically check a state.
Definition component.h:602
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:132
Base-class for all sensors.
Definition sensor.h:47