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