From 88f6f3af7a0354d6a799c4c9b4f45534f7d5a009 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Jun 2017 18:57:30 +0200 Subject: [PATCH] Move details about API token up --- source/_components/sensor.waqi.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_components/sensor.waqi.markdown b/source/_components/sensor.waqi.markdown index ca10f70edb6..30ac8d193a3 100644 --- a/source/_components/sensor.waqi.markdown +++ b/source/_components/sensor.waqi.markdown @@ -15,6 +15,8 @@ ha_iot_class: "Local Polling" The `waqi` sensor platform will query [World Air Quality Index](http://aqicn.org) service to check AQI value for a specific set of locations. The resulting indexes will be added to the Home Assistant as sensor outputs. +This sensor requires an API token. Please obtain one at [AQICN API token](http://aqicn.org/data-platform/token/#/). + To enable this sensor, add the following lines to your `configuration.yaml` file: ```yaml @@ -30,11 +32,9 @@ sensor: 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. +- **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*): The token for the AQICN public API. +- **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: