Minimizing of the configuration sample (#1017)

This commit is contained in:
Fabian Affolter 2016-09-30 20:56:33 +02:00 committed by GitHub
parent 1abe7da82c
commit 8a386143a4
5 changed files with 16 additions and 15 deletions

View file

@ -25,14 +25,12 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
sensor:
- platform: openexchangerates
api_key: YOUR_API_KEY
base: USD
quote: EUR
name: USDEUR
```
Configuration variables:
- **api_key** (*Required*): API Key for [Open Exchange Rates](https://openexchangerates.org).
- **name** (*Optional*): Name to use in the frontend.
- **base** (*Optional*): The symbol of the base currency. Defaults to USD
- **quote** (*Required*): The symbol of the quote or target currency.
- **name** (*Optional*): Name to use in the frontend.
- **base** (*Optional*): The symbol of the base currency. Defaults to USD.