ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
tof10120_sensor.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::tof10120 {
8
9class TOF10120Sensor final : public sensor::Sensor, public PollingComponent, public i2c::I2CDevice {
10 public:
11 void setup() override;
12
13 void dump_config() override;
14 void update() override;
15};
16} // namespace esphome::tof10120
This class simplifies creating components that periodically check a state.
Definition component.h:510
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