ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
stts22h.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::stts22h {
8
10 public:
11 void setup() override;
12 void update() override;
13 void dump_config() override;
14
15 protected:
16 void initialize_sensor_();
17 bool is_stts22h_sensor_();
18 float read_temperature_();
19};
20
21} // namespace esphome::stts22h
This class simplifies creating components that periodically check a state.
Definition component.h:474
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