Update proximity.markdown (#7748)

This commit is contained in:
Joakim Sørensen 2018-12-06 13:07:03 +01:00 committed by Fabian Affolter
parent 84db819008
commit 7cc17f39cf

View File

@ -49,29 +49,28 @@ proximity:
``` ```
{% configuration %} {% configuration %}
proximity: zone:
zone: description: The zone to which this component is measuring the distance to. Default is the home zone.
description: The zone to which this component is measuring the distance to. Default is the home zone. required: false
required: false type: map
type: map keys:
keys: ignored_zones:
ignored_zones: description: Where proximity is not calculated for a device (either the device being monitored or ones being compared (e.g., work or school).
description: Where proximity is not calculated for a device (either the device being monitored or ones being compared (e.g., work or school). required: false
required: false type: list
type: list devices:
devices: description: A list of devices to compare location against to check closeness to the configured zone.
description: A list of devices to compare location against to check closeness to the configured zone. required: false
required: false type: list
type: list tolerance:
tolerance: description: The tolerance used to calculate the direction of travel in meters (m) to filter out small GPS coordinate changes.
description: The tolerance used to calculate the direction of travel in meters (m) to filter out small GPS coordinate changes. required: false
required: false type: integer
type: integer unit_of_measurement:
unit_of_measurement: description: The unit of measurement for distance. Valid values are (km, m, mi, ft) [kilometers, meters, miles and feet respectively].
description: The unit of measurement for distance. Valid values are (km, m, mi, ft) [kilometers, meters, miles and feet respectively]. required: false
required: false type: string
type: string default: km
default: km
{% endconfiguration %} {% endconfiguration %}
To add multiple proximity components, simply use a list in your `configuration.yaml` file: To add multiple proximity components, simply use a list in your `configuration.yaml` file: