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