ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
t6615.h
Go to the documentation of this file.
1#pragma once
2
7
8namespace esphome::t6615 {
9
10enum class T6615Command : uint8_t {
11 NONE = 0,
12 GET_PPM,
16 GET_ABC,
20};
21
22class T6615Component final : public PollingComponent, public uart::UARTDevice {
23 SUB_SENSOR(co2)
24
25 public:
26 void loop() override;
27 void update() override;
28 void dump_config() override;
29
30 protected:
31 void query_ppm_();
32 void send_ppm_command_();
33
36};
37
38} // namespace esphome::t6615
virtual void loop()
This method will be called repeatedly.
Definition component.cpp:86
This class simplifies creating components that periodically check a state.
Definition component.h:532
static void uint32_t