esphome/esphome/components/hm3301/abstract_aqi_calculator.h
2022-04-11 10:14:53 +12:00

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