From 7ac437f5ac1dfacec70bda3180c219571a1b89f0 Mon Sep 17 00:00:00 2001 From: Christoph Gerneth Date: Tue, 6 Mar 2018 22:54:35 +0100 Subject: [PATCH] updated documentation: show on map (#4680) * updated documentation: show on map * Fix type * changed a copy-paste error --- source/_components/sensor.luftdaten.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_components/sensor.luftdaten.markdown b/source/_components/sensor.luftdaten.markdown index 6417ee5e0a5..a5d701feb5b 100644 --- a/source/_components/sensor.luftdaten.markdown +++ b/source/_components/sensor.luftdaten.markdown @@ -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 %} +

+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. +

+ 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