22 lines
687 B
Python
22 lines
687 B
Python
"""Constants for the AirNow integration."""
|
|
ATTR_API_AQI = "AQI"
|
|
ATTR_API_AQI_LEVEL = "Category.Number"
|
|
ATTR_API_AQI_DESCRIPTION = "Category.Name"
|
|
ATTR_API_AQI_PARAM = "ParameterName"
|
|
ATTR_API_CATEGORY = "Category"
|
|
ATTR_API_CAT_LEVEL = "Number"
|
|
ATTR_API_CAT_DESCRIPTION = "Name"
|
|
ATTR_API_O3 = "O3"
|
|
ATTR_API_PM25 = "PM2.5"
|
|
ATTR_API_POLLUTANT = "Pollutant"
|
|
ATTR_API_REPORT_DATE = "HourObserved"
|
|
ATTR_API_REPORT_HOUR = "DateObserved"
|
|
ATTR_API_STATE = "StateCode"
|
|
ATTR_API_STATION = "ReportingArea"
|
|
ATTR_API_STATION_LATITUDE = "Latitude"
|
|
ATTR_API_STATION_LONGITUDE = "Longitude"
|
|
DEFAULT_NAME = "AirNow"
|
|
DOMAIN = "airnow"
|
|
SENSOR_AQI_ATTR_DESCR = "description"
|
|
SENSOR_AQI_ATTR_LEVEL = "level"
|