Classes | |
| class | AirNowEntityDescription |
| class | AirNowSensor |
Functions | |
| dict[str, Any] | aqi_extra_attrs (dict[str, Any] data) |
| None | async_setup_entry (HomeAssistant hass, AirNowConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| dict[str, Any] | station_extra_attrs (dict[str, Any] data) |
Variables | |
| string | ATTR_DESCR = "description" |
| string | ATTR_LEVEL = "level" |
| string | ATTR_STATION = "reporting_station" |
| string | ATTRIBUTION = "Data provided by AirNow" |
| int | PARALLEL_UPDATES = 1 |
Support for the AirNow sensor service.
| dict[str, Any] homeassistant.components.airnow.sensor.aqi_extra_attrs | ( | dict[str, Any] | data | ) |
| None homeassistant.components.airnow.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| AirNowConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| dict[str, Any] homeassistant.components.airnow.sensor.station_extra_attrs | ( | dict[str, Any] | data | ) |
| string homeassistant.components.airnow.sensor.ATTR_DESCR = "description" |
| string homeassistant.components.airnow.sensor.ATTR_LEVEL = "level" |
| string homeassistant.components.airnow.sensor.ATTR_STATION = "reporting_station" |
| string homeassistant.components.airnow.sensor.ATTRIBUTION = "Data provided by AirNow" |