cogito/esphome_dev/esphome/components/hm3301/abstract_aqi_calculator.h

14 lines
241 B
C++

#pragma once
#include <cstdint>
namespace esphome {
namespace hm3301 {
class AbstractAQICalculator {
public:
virtual uint16_t get_aqi(uint16_t pm2_5_value, uint16_t pm10_0_value) = 0;
};
} // namespace hm3301
} // namespace esphome