ESPHome  2022.6.3
tof10120_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace 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
const float DATA
For components that import data from directly connected sensors like DHT.
Definition: component.cpp:18
This class simplifies creating components that periodically check a state.
Definition: component.h:266
float get_setup_priority() const override
Definition: a4988.cpp:4
Base-class for all sensors.
Definition: sensor.h:47