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