ESPHome 2025.5.0
Loading...
Searching...
No Matches
automation.h
Go to the documentation of this file.
1#pragma once
2
5#include "sps30.h"
6
7namespace esphome {
8namespace sps30 {
9
10template<typename... Ts> class StartFanAction : public Action<Ts...> {
11 public:
12 explicit StartFanAction(SPS30Component *sps30) : sps30_(sps30) {}
13
14 void play(Ts... x) override { this->sps30_->start_fan_cleaning(); }
15
16 protected:
18};
19
20} // namespace sps30
21} // namespace esphome
This class implements support for the Sensirion SPS30 i2c/UART Particulate Matter PM1....
Definition sps30.h:12
StartFanAction(SPS30Component *sps30)
Definition automation.h:12
void play(Ts... x) override
Definition automation.h:14
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
uint16_t x
Definition tt21100.cpp:5