ESPHome 2025.5.0
Loading...
Searching...
No Matches
automation.h
Go to the documentation of this file.
1#pragma once
2
5#include "sen5x.h"
6
7namespace esphome {
8namespace sen5x {
9
10template<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
void play(Ts... x) override
Definition automation.h:14
StartFanAction(SEN5XComponent *sen5x)
Definition automation.h:12
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
uint16_t x
Definition tt21100.cpp:5