updated documentation: show on map (#4680)

* updated documentation: show on map

* Fix type

* changed a copy-paste error
This commit is contained in:
Christoph Gerneth 2018-03-06 22:54:35 +01:00 committed by Fabian Affolter
parent a3fae56558
commit 7ac437f5ac

View File

@ -60,8 +60,17 @@ sensor:
description: Display the humidity from the sensor.
pressure:
description: Display the pressure from the sensor.
show_on_map:
description: Option to show the position of the sensor on the map.
required: optional
default: false
type: boolean
{% endconfiguration %}
<p class='note warning'>
If you set `show_on_map` to `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.
</p>
Not all sensors provide all conditions. Also, it's possible that the sensor values are not available all the time. To check what a sensor is publishing use `curl`:
```bash