Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Airgradient integration."""
2
3
import
logging
4
5
from
airgradient
import
PmStandard
6
7
DOMAIN =
"airgradient"
8
9
LOGGER = logging.getLogger(__package__)
10
11
PM_STANDARD = {
12
PmStandard.UGM3:
"ugm3"
,
13
PmStandard.USAQI:
"us_aqi"
,
14
}
15
PM_STANDARD_REVERSE = {v: k
for
k, v
in
PM_STANDARD.items()}
core
homeassistant
components
airgradient
const.py
Generated by
1.9.1