mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-02 02:58:26 +02:00
42007d03d4
* 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
|