mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
updated documentation: show on map (#4680)
* updated documentation: show on map * Fix type * changed a copy-paste error
This commit is contained in:
parent
a3fae56558
commit
7ac437f5ac
@ -60,8 +60,17 @@ sensor:
|
|||||||
description: Display the humidity from the sensor.
|
description: Display the humidity from the sensor.
|
||||||
pressure:
|
pressure:
|
||||||
description: Display the pressure from the sensor.
|
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 %}
|
{% 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`:
|
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
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user