Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.awair.const Namespace Reference

Variables

string API_CO2 = "carbon_dioxide"
 
string API_DUST = "dust"
 
string API_HUMID = "humidity"
 
string API_LUX = "illuminance"
 
string API_PM10 = "particulate_matter_10"
 
string API_PM25 = "particulate_matter_2_5"
 
string API_SCORE = "score"
 
string API_SPL_A = "sound_pressure_level"
 
string API_TEMP = "temperature"
 
int API_TIMEOUT = 20
 
string API_VOC = "volatile_organic_compounds"
 
string ATTRIBUTION = "Awair air quality sensor"
 
string DOMAIN = "awair"
 
 LOGGER = logging.getLogger(__package__)
 
 UPDATE_INTERVAL_CLOUD = timedelta(minutes=5)
 
 UPDATE_INTERVAL_LOCAL = timedelta(seconds=30)
 

Detailed Description

Constants for the Awair component.

Variable Documentation

◆ API_CO2

string homeassistant.components.awair.const.API_CO2 = "carbon_dioxide"

Definition at line 8 of file const.py.

◆ API_DUST

string homeassistant.components.awair.const.API_DUST = "dust"

Definition at line 9 of file const.py.

◆ API_HUMID

string homeassistant.components.awair.const.API_HUMID = "humidity"

Definition at line 10 of file const.py.

◆ API_LUX

string homeassistant.components.awair.const.API_LUX = "illuminance"

Definition at line 11 of file const.py.

◆ API_PM10

string homeassistant.components.awair.const.API_PM10 = "particulate_matter_10"

Definition at line 12 of file const.py.

◆ API_PM25

string homeassistant.components.awair.const.API_PM25 = "particulate_matter_2_5"

Definition at line 13 of file const.py.

◆ API_SCORE

string homeassistant.components.awair.const.API_SCORE = "score"

Definition at line 14 of file const.py.

◆ API_SPL_A

string homeassistant.components.awair.const.API_SPL_A = "sound_pressure_level"

Definition at line 15 of file const.py.

◆ API_TEMP

string homeassistant.components.awair.const.API_TEMP = "temperature"

Definition at line 16 of file const.py.

◆ API_TIMEOUT

int homeassistant.components.awair.const.API_TIMEOUT = 20

Definition at line 17 of file const.py.

◆ API_VOC

string homeassistant.components.awair.const.API_VOC = "volatile_organic_compounds"

Definition at line 18 of file const.py.

◆ ATTRIBUTION

string homeassistant.components.awair.const.ATTRIBUTION = "Awair air quality sensor"

Definition at line 20 of file const.py.

◆ DOMAIN

string homeassistant.components.awair.const.DOMAIN = "awair"

Definition at line 22 of file const.py.

◆ LOGGER

homeassistant.components.awair.const.LOGGER = logging.getLogger(__package__)

Definition at line 24 of file const.py.

◆ UPDATE_INTERVAL_CLOUD

homeassistant.components.awair.const.UPDATE_INTERVAL_CLOUD = timedelta(minutes=5)

Definition at line 26 of file const.py.

◆ UPDATE_INTERVAL_LOCAL

homeassistant.components.awair.const.UPDATE_INTERVAL_LOCAL = timedelta(seconds=30)

Definition at line 27 of file const.py.