1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-24 05:48:14 +00:00
esphome/esphome/components/hm3301/abstract_aqi_calculator.h

15 lines
240 B
C++

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