mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Add new parameter to sensor.aqi (#1739)
* Add new parameter to sensor.aqi A city might have more stations than is needed. Adding an optional station parameter to restrict results. * Update sensor.waqi.markdown
This commit is contained in:
parent
54ea7df94d
commit
f4e21d20d2
@ -22,13 +22,17 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
|
||||
sensor:
|
||||
- platform: waqi
|
||||
locations:
|
||||
- beijin
|
||||
- beijing
|
||||
stations:
|
||||
- Beijing US Embassy
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **locations** (*Required*): a list of location names to look for air quality data. In case a specific location has multiple registered stations all of them will be added to Home Assistant
|
||||
|
||||
- **stations** (*Optional*): a list of station names to look for air quality data. Station should be within locations specified above.
|
||||
|
||||
The value reported is an overall AQ index for the location. The values of the index can be interpreted as following:
|
||||
|
||||
AQI | Status | Description
|
||||
|
Loading…
x
Reference in New Issue
Block a user