Classes | |
| class | AirVisualGeographySensor |
Functions | |
| None | async_setup_entry (HomeAssistant hass, AirVisualConfigEntry entry, AddEntitiesCallback async_add_entities) |
Support for AirVisual air quality sensors.
| None homeassistant.components.airvisual.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| AirVisualConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| string homeassistant.components.airvisual.sensor.ATTR_CITY = "city" |
| string homeassistant.components.airvisual.sensor.ATTR_COUNTRY = "country" |
| string homeassistant.components.airvisual.sensor.ATTR_POLLUTANT_SYMBOL = "pollutant_symbol" |
| string homeassistant.components.airvisual.sensor.ATTR_POLLUTANT_UNIT = "pollutant_unit" |
| string homeassistant.components.airvisual.sensor.ATTR_REGION = "region" |
| tuple homeassistant.components.airvisual.sensor.GEOGRAPHY_SENSOR_DESCRIPTIONS |
| dictionary homeassistant.components.airvisual.sensor.GEOGRAPHY_SENSOR_LOCALES = {"cn": "Chinese", "us": "U.S."} |
| dictionary homeassistant.components.airvisual.sensor.POLLUTANT_LEVELS |
| dictionary homeassistant.components.airvisual.sensor.POLLUTANT_UNITS |
| string homeassistant.components.airvisual.sensor.SENSOR_KIND_AQI = "air_quality_index" |
| string homeassistant.components.airvisual.sensor.SENSOR_KIND_LEVEL = "air_pollution_level" |
| string homeassistant.components.airvisual.sensor.SENSOR_KIND_POLLUTANT = "main_pollutant" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LABEL_CO = "co" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LABEL_N2 = "n2" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LABEL_O3 = "o3" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LABEL_P1 = "p1" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LABEL_P2 = "p2" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LABEL_S2 = "s2" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LEVEL_GOOD = "good" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LEVEL_HAZARDOUS = "hazardous" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LEVEL_MODERATE = "moderate" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LEVEL_UNHEALTHY = "unhealthy" |
| string homeassistant.components.airvisual.sensor.STATE_POLLUTANT_LEVEL_UNHEALTHY_SENSITIVE = "unhealthy_sensitive" |