mirror of
https://github.com/home-assistant/core.git
synced 2026-05-29 11:45:35 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
28 lines
637 B
Python
28 lines
637 B
Python
"""Constants for the Awair component."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
API_ABS_HUMID = "abs_humid"
|
|
API_CO2 = "carbon_dioxide"
|
|
API_DEW_POINT = "dew_point"
|
|
API_DUST = "dust"
|
|
API_HUMID = "humidity"
|
|
API_LUX = "illuminance"
|
|
API_PM10 = "particulate_matter_10"
|
|
API_PM25 = "particulate_matter_2_5"
|
|
API_SCORE = "score"
|
|
API_SPL_A = "sound_pressure_level"
|
|
API_TEMP = "temperature"
|
|
API_TIMEOUT = 20
|
|
API_VOC = "volatile_organic_compounds"
|
|
|
|
ATTRIBUTION = "Awair air quality sensor"
|
|
|
|
DOMAIN = "awair"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
UPDATE_INTERVAL_CLOUD = timedelta(minutes=5)
|
|
UPDATE_INTERVAL_LOCAL = timedelta(seconds=30)
|