ESPHome  2024.4.0
lt_component.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef USE_LIBRETINY
4 
6 #include "esphome/core/defines.h"
7 
8 #ifdef USE_SENSOR
10 #endif
11 #ifdef USE_TEXT_SENSOR
13 #endif
14 
15 namespace esphome {
16 namespace libretiny {
17 
18 class LTComponent : public Component {
19  public:
20  float get_setup_priority() const override;
21  void dump_config() override;
22 
23 #ifdef USE_TEXT_SENSOR
25 #endif // USE_TEXT_SENSOR
26 
27  protected:
28 #ifdef USE_TEXT_SENSOR
30 #endif // USE_TEXT_SENSOR
31 };
32 
33 } // namespace libretiny
34 } // namespace esphome
35 
36 #endif // USE_LIBRETINY
void set_version_sensor(text_sensor::TextSensor *version)
Definition: lt_component.h:24
float get_setup_priority() const override
text_sensor::TextSensor * version_
Definition: lt_component.h:29
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7