ESPHome
2026.1.0-dev
Loading...
Searching...
No Matches
esphome
components
aqi
abstract_aqi_calculator.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
esphome::aqi
{
6
7
class
AbstractAQICalculator
{
8
public
:
9
virtual
uint16_t
get_aqi
(uint16_t pm2_5_value, uint16_t pm10_0_value) = 0;
10
};
11
12
}
// namespace esphome::aqi
esphome::aqi::AbstractAQICalculator
Definition
abstract_aqi_calculator.h:7
esphome::aqi::AbstractAQICalculator::get_aqi
virtual uint16_t get_aqi(uint16_t pm2_5_value, uint16_t pm10_0_value)=0
esphome::aqi
Definition
abstract_aqi_calculator.h:5
Generated by
1.12.0