Skip to content

Commit 37e643c

Browse files
valentinalexeevfabaff
authored andcommitted
Features/waqi sensor pwaqi 2.0 update (home-assistant#2027)
* Update documentation for WAQI sensor. * Added itach documentation (home-assistant#2023) * Revert "Added itach documentation (home-assistant#2023)" This reverts commit 3c25133.
1 parent ee7dca5 commit 37e643c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/_components/sensor.waqi.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
2121
# Example configuration.yaml entry
2222
sensor:
2323
- platform: waqi
24+
token: AQICN_API_TOKEN
2425
locations:
2526
- beijing
2627
stations:
@@ -31,6 +32,8 @@ Configuration variables:
3132
3233
- **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
3334
35+
- **token** (*Required*): a token for the AQICN public API. Please obtain one at (AQICN API token)[http://aqicn.org/data-platform/token/#/]
36+
3437
- **stations** (*Optional*): a list of station names to look for air quality data. Station should be within locations specified above.
3538
3639
The value reported is an overall AQ index for the location. The values of the index can be interpreted as following:

0 commit comments

Comments
 (0)