ESPHome  2022.12.8
xiaomi_mue4094rt.h
Go to the documentation of this file.
1 #pragma once
2 
7 
8 #ifdef USE_ESP32
9 
10 namespace esphome {
11 namespace xiaomi_mue4094rt {
12 
13 class XiaomiMUE4094RT : public Component,
16  public:
17  void set_address(uint64_t address) { address_ = address; }
18 
19  bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override;
20 
21  void dump_config() override;
22  float get_setup_priority() const override { return setup_priority::DATA; }
23  void set_time(uint16_t timeout) { timeout_ = timeout; }
24 
25  protected:
26  uint64_t address_;
27  uint16_t timeout_;
28 };
29 
30 } // namespace xiaomi_mue4094rt
31 } // namespace esphome
32 
33 #endif
const float DATA
For components that import data from directly connected sensors like DHT.
Definition: component.cpp:18
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override
Definition: a4988.cpp:4