Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Awair component."""
2
3
from
__future__
import
annotations
4
5
from
datetime
import
timedelta
6
import
logging
7
8
API_CO2 =
"carbon_dioxide"
9
API_DUST =
"dust"
10
API_HUMID =
"humidity"
11
API_LUX =
"illuminance"
12
API_PM10 =
"particulate_matter_10"
13
API_PM25 =
"particulate_matter_2_5"
14
API_SCORE =
"score"
15
API_SPL_A =
"sound_pressure_level"
16
API_TEMP =
"temperature"
17
API_TIMEOUT = 20
18
API_VOC =
"volatile_organic_compounds"
19
20
ATTRIBUTION =
"Awair air quality sensor"
21
22
DOMAIN =
"awair"
23
24
LOGGER = logging.getLogger(__package__)
25
26
UPDATE_INTERVAL_CLOUD =
timedelta
(minutes=5)
27
UPDATE_INTERVAL_LOCAL =
timedelta
(seconds=30)
homeassistant.components.uptimerobot.const.timedelta
timedelta
Definition:
const.py:14
core
homeassistant
components
awair
const.py
Generated by
1.9.1