mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
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.
This commit is contained in:
parent
ee7dca5d91
commit
37e643c8f3
@ -21,6 +21,7 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: waqi
|
- platform: waqi
|
||||||
|
token: AQICN_API_TOKEN
|
||||||
locations:
|
locations:
|
||||||
- beijing
|
- beijing
|
||||||
stations:
|
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
|
- **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.
|
- **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:
|
The value reported is an overall AQ index for the location. The values of the index can be interpreted as following:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user