ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
xiaomi_cgd1.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::xiaomi_cgd1 {
8
10 SUB_SENSOR(temperature)
11 SUB_SENSOR(humidity)
12 SUB_SENSOR(battery_level)
13
14 public:
15 void dump_config() override;
16
17 protected:
18 void publish_result(const xiaomi_ble::XiaomiParseResult &res) override;
19};
20
21} // namespace esphome::xiaomi_cgd1
virtual void dump_config()
A XiaomiDevice whose frames are encrypted with a bindkey.
Definition xiaomi_ble.h:92
void publish_result(const xiaomi_ble::XiaomiParseResult &res) override
uint16_t temperature
Definition sun_gtil2.cpp:12