12 namespace xiaomi_cgpr1 {
const float DATA
For components that import data from directly connected sensors like DHT.
sensor::Sensor * illuminance_
void dump_config() override
void set_bindkey(const std::string &bindkey)
void set_illuminance(sensor::Sensor *illuminance)
sensor::Sensor * idle_time_
void set_idle_time(sensor::Sensor *idle_time)
void set_address(uint64_t address)
sensor::Sensor * battery_level_
Implementation of SPI Controller mode.
float get_setup_priority() const override
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override
Base-class for all sensors.
void set_battery_level(sensor::Sensor *battery_level)