Minimizing of the configuration sample (#1042)

This commit is contained in:
Fabian Affolter 2016-10-02 17:14:42 +02:00 committed by GitHub
parent c72ec348e4
commit dc07843704
10 changed files with 84 additions and 134 deletions

View file

@ -25,9 +25,8 @@ To add Wunderground to your installation, add the following to your `configurati
```yaml
# Example configuration.yaml entry
sensor:
platform: wunderground
- platform: wunderground
api_key: your_api_key
pws_id: enter_pws_id
monitored_conditions:
- weather
- temp_f
@ -60,8 +59,8 @@ sensor:
```
Configuration variables:
- **api_key** (Required): See above
- **pws_id** (Optional): You can enter a Personal Weather Station id. The current list of Wunderground PWS stations is available [here](https://www.wunderground.com/weatherstation/ListStations.asp). If you do not enter a PWS ID, the current location information (latitude and longitude) from your `configuration.yaml` will be used to display weather conditions.
- **api_key** (Required): See above.
- **pws_id** (Optional): You can enter a Personal Weather Station ID. The current list of Wunderground PWS stations is available [here](https://www.wunderground.com/weatherstation/ListStations.asp). If you do not enter a PWS ID, the current location information (latitude and longitude) from your `configuration.yaml` will be used to display weather conditions.
- **monitored_conditions** array (*Required*): Conditions to display in the frontend. The following conditions can be monitored.
- **weather**: A human-readable text summary with picture from Wunderground.
- **temp_f**: Current temperature in Fahrenheit