11 namespace xiaomi_cgdk2 {
void set_battery_level(sensor::Sensor *battery_level)
const float DATA
For components that import data from directly connected sensors like DHT.
void set_bindkey(const std::string &bindkey)
void dump_config() override
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override
sensor::Sensor * battery_level_
sensor::Sensor * temperature_
sensor::Sensor * humidity_
void set_temperature(sensor::Sensor *temperature)
float get_setup_priority() const override
Implementation of SPI Controller mode.
void set_address(uint64_t address)
Base-class for all sensors.
void set_humidity(sensor::Sensor *humidity)