Update configuration describtion style (#3991)

This commit is contained in:
Fabian Affolter 2017-11-15 23:35:22 +01:00 committed by GitHub
parent 7d2980bbe6
commit d40b9ff36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 61 additions and 25 deletions

View file

@ -25,9 +25,13 @@ binary_sensor:
- platform: iss
```
Configuration variables:
- **show_on_map** (*Optional*): Option to show the position of the ISS on the map. Defaults to `False`.
{% configuration %}
show_on_map:
description: Option to show the position of the ISS on the map.
required: optionsl
default: false
type: string
{% endconfiguration %}
<p class='note warning'>
If you set `show_on_map` `True` then the location attributes are named `latitude` and `longitude`. The default name of the location attributes is `lat` and `long` to avoid showing them on the map.