mirror of
https://github.com/esphome/esphome.git
synced 2026-01-09 19:50:49 -07:00
Co-authored-by: jas <jas@asspa.in> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
15 lines
344 B
Python
15 lines
344 B
Python
import esphome.codegen as cg
|
|
|
|
CODEOWNERS = ["@jasstrong", "@ximex", "@freekode"]
|
|
|
|
aqi_ns = cg.esphome_ns.namespace("aqi")
|
|
AQICalculatorType = aqi_ns.enum("AQICalculatorType")
|
|
|
|
CONF_AQI = "aqi"
|
|
CONF_CALCULATION_TYPE = "calculation_type"
|
|
|
|
AQI_CALCULATION_TYPE = {
|
|
"CAQI": AQICalculatorType.CAQI_TYPE,
|
|
"AQI": AQICalculatorType.AQI_TYPE,
|
|
}
|