12 namespace atc_mithermometer {
27 void dump_config()
override;
44 bool parse_message_(
const std::vector<uint8_t> &message,
ParseResult &result);
optional< float > battery_voltage
void set_battery_level(sensor::Sensor *battery_level)
const float DATA
For components that import data from directly connected sensors like DHT.
void set_temperature(sensor::Sensor *temperature)
void set_address(uint64_t address)
void set_battery_voltage(sensor::Sensor *battery_voltage)
optional< float > temperature
void set_humidity(sensor::Sensor *humidity)
optional< float > humidity
float get_setup_priority() const override
void set_signal_strength(sensor::Sensor *signal_strength)
Implementation of SPI Controller mode.
optional< float > battery_level
Base-class for all sensors.