ESPHome 2025.5.2
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
tof10120_sensor.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace tof10120 {
9
11 public:
12 void setup() override;
13
14 void dump_config() override;
15 float get_setup_priority() const override { return setup_priority::DATA; }
16 void update() override;
17};
18} // namespace tof10120
19} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:301
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:57
float get_setup_priority() const override
const float DATA
For components that import data from directly connected sensors like DHT.
Definition component.cpp:19
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7