ESPHome 2026.2.1
Loading...
Searching...
No Matches
hdc1080.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace hdc1080 {
9
11 public:
13 void set_humidity(sensor::Sensor *humidity) { humidity_ = humidity; }
14
15 void setup() override;
16 void dump_config() override;
17 void update() override;
18
19 protected:
22};
23
24} // namespace hdc1080
25} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:512
sensor::Sensor * temperature_
Definition hdc1080.h:20
void set_humidity(sensor::Sensor *humidity)
Definition hdc1080.h:13
void set_temperature(sensor::Sensor *temperature)
Definition hdc1080.h:12
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
Base-class for all sensors.
Definition sensor.h:43
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
uint16_t temperature
Definition sun_gtil2.cpp:12