ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
xiaomi_hhccjcy01.h
Go to the documentation of this file.
1#pragma once
2
6
8
10 SUB_SENSOR(temperature)
11 SUB_SENSOR(moisture)
12 SUB_SENSOR(conductivity)
13 SUB_SENSOR(illuminance)
14 SUB_SENSOR(battery_level)
15
16 public:
17 void dump_config() override;
18
19 protected:
20 void publish_result(const xiaomi_ble::XiaomiParseResult &res) override;
21};
22
23} // namespace esphome::xiaomi_hhccjcy01
virtual void dump_config()
A Xiaomi MiBeacon device: matches its address, decodes each frame once and hands it to publish_result...
Definition xiaomi_ble.h:75
void publish_result(const xiaomi_ble::XiaomiParseResult &res) override
uint16_t temperature
Definition sun_gtil2.cpp:12