ESPHome 2026.5.1
Loading...
Searching...
No Matches
hdc1080.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::hdc1080 {
8
10 public:
12 void set_humidity(sensor::Sensor *humidity) { humidity_ = humidity; }
13
14 void setup() override;
15 void dump_config() override;
16 void update() override;
17
18 protected:
21};
22
23} // namespace esphome::hdc1080
This class simplifies creating components that periodically check a state.
Definition component.h:602
sensor::Sensor * temperature_
Definition hdc1080.h:19
void set_humidity(sensor::Sensor *humidity)
Definition hdc1080.h:12
void set_temperature(sensor::Sensor *temperature)
Definition hdc1080.h:11
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
uint16_t temperature
Definition sun_gtil2.cpp:12