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_
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)
uint8_t parse_battery_level_(const std::vector< uint8_t > &message)
void set_temperature(sensor::Sensor *temperature)
void set_tank_full(float full)
void set_address(uint64_t address)
float get_setup_priority() const override
sensor::Sensor * distance_
sensor::Sensor * battery_level_
uint8_t parse_temperature_(const std::vector< uint8_t > &message)
Implementation of SPI Controller mode.
Base-class for all sensors.