ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
sfa30.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::sfa30 {
8
10 SUB_SENSOR(formaldehyde)
11 SUB_SENSOR(humidity)
12 SUB_SENSOR(temperature)
13
14 public:
15 void setup() override;
16 void dump_config() override;
17 void update() override;
18
19 protected:
20 char device_marking_[32] = {0};
21};
22
23} // namespace esphome::sfa30
virtual void setup()
Where the component's initialization should happen.
Definition component.cpp:84
This class simplifies creating components that periodically check a state.
Definition component.h:532
uint16_t temperature
Definition sun_gtil2.cpp:12