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