From 37e643c8f3b1a49691b2578b9a70fb6b85486b36 Mon Sep 17 00:00:00 2001 From: Valentin Alexeev Date: Tue, 14 Feb 2017 12:09:54 +0200 Subject: [PATCH] Features/waqi sensor pwaqi 2.0 update (#2027) * Update documentation for WAQI sensor. * Added itach documentation (#2023) * Revert "Added itach documentation (#2023)" This reverts commit 3c25133249ff58e6c42df049cd853d14a9cb1400. --- source/_components/sensor.waqi.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_components/sensor.waqi.markdown b/source/_components/sensor.waqi.markdown index 0f78155c79e..9e2118ba4c9 100644 --- a/source/_components/sensor.waqi.markdown +++ b/source/_components/sensor.waqi.markdown @@ -21,6 +21,7 @@ To enable this sensor, add the following lines to your `configuration.yaml` file # Example configuration.yaml entry sensor: - platform: waqi + token: AQICN_API_TOKEN locations: - beijing stations: @@ -31,6 +32,8 @@ 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 +- **token** (*Required*): a token for the AQICN public API. Please obtain one at (AQICN API token)[http://aqicn.org/data-platform/token/#/] + - **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: