mirror of
https://github.com/esphome/esphome.git
synced 2025-02-24 22:08:17 +00:00
* HM3301 AQI calculator * remove logs * fixed after lint * fixed after lint * fixed after lint * check NP for AQI sensor * validation for AQI sensor
15 lines
242 B
C++
15 lines
242 B
C++
#pragma once
|
|
|
|
#include "Arduino.h"
|
|
|
|
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
|