Update configuration description style (#3994)

This commit is contained in:
Fabian Affolter 2017-11-16 21:05:16 +01:00 committed by GitHub
parent 8dba93493a
commit 85fcddbf17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 160 additions and 56 deletions

View file

@ -27,9 +27,19 @@ sensor:
target: CHF
```
Configuration variables:
- **target** (*Required*): The symbol of the target currency.
- **name** (*Optional*): Name to use in the frontend.
- **base** (*Optional*): The symbol of the base currency. Default to USD
{% configuration %}
target:
description: The symbol of the target currency.
required: true
type: string
name:
description: Name to use in the frontend.
required: false
type: string
default: Exchange rate
base:
description: The symbol of the base currency.
required: false
type: string
default: USD
{% endconfiguration %}