ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
sht3xd.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::sht3xd {
8
11 SUB_SENSOR(temperature)
12 SUB_SENSOR(humidity)
13
14 public:
15 void setup() override;
16 void dump_config() override;
17 void update() override;
18 void set_heater_enabled(bool heater_enabled) { heater_enabled_ = heater_enabled; }
19
20 protected:
21 bool heater_enabled_{true};
23};
24
25} // namespace esphome::sht3xd
virtual void setup()
Where the component's initialization should happen.
Definition component.cpp:84
This class simplifies creating components that periodically check a state.
Definition component.h:532
This class implements support for the SHT3x-DIS family of temperature+humidity i2c sensors.
Definition sht3xd.h:10
static void uint32_t
uint16_t temperature
Definition sun_gtil2.cpp:12