13 namespace mopeka_pro_check {
const float DATA
For components that import data from directly connected sensors like DHT.
void set_level(sensor::Sensor *level)
void set_tank_empty(float empty)
void set_distance(sensor::Sensor *distance)
void dump_config() override
sensor::Sensor * temperature_
void set_ignored_reads(sensor::Sensor *ir)
SensorReadQuality parse_read_quality_(const std::vector< uint8_t > &message)
uint32_t parse_distance_(const std::vector< uint8_t > &message)
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override
Main parse function that gets called for all ble advertisements.
void set_battery_level(sensor::Sensor *bat)
uint32_t ignored_read_count_
uint8_t parse_battery_level_(const std::vector< uint8_t > &message)
void set_temperature(sensor::Sensor *temperature)
void set_tank_full(float full)
sensor::Sensor * read_quality_
void set_address(uint64_t address)
SensorReadQuality min_signal_quality_
float get_setup_priority() const override
sensor::Sensor * distance_
sensor::Sensor * battery_level_
void set_min_signal_quality(SensorReadQuality min)
uint8_t parse_temperature_(const std::vector< uint8_t > &message)
void set_signal_quality(sensor::Sensor *rq)
Implementation of SPI Controller mode.
sensor::Sensor * ignored_reads_
Base-class for all sensors.