ESPHome  2024.3.1
automation.h
Go to the documentation of this file.
1 #pragma once
2 
5 #include "sen5x.h"
6 
7 namespace esphome {
8 namespace sen5x {
9 
10 template<typename... Ts> class StartFanAction : public Action<Ts...> {
11  public:
12  explicit StartFanAction(SEN5XComponent *sen5x) : sen5x_(sen5x) {}
13 
14  void play(Ts... x) override { this->sen5x_->start_fan_cleaning(); }
15 
16  protected:
18 };
19 
20 } // namespace sen5x
21 } // namespace esphome
StartFanAction(SEN5XComponent *sen5x)
Definition: automation.h:12
uint16_t x
Definition: tt21100.cpp:17
void play(Ts... x) override
Definition: automation.h:14
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7