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 %}
proximity:
zone:
description: The zone to which this component is measuring the distance to. Default is the home zone.
required: false
type: map
keys:
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).
required: false
type: list
devices:
description: A list of devices to compare location against to check closeness to the configured zone.
required: false
type: list
tolerance:
description: The tolerance used to calculate the direction of travel in meters (m) to filter out small GPS coordinate changes.
required: false
type: integer
unit_of_measurement:
description: The unit of measurement for distance. Valid values are (km, m, mi, ft) [kilometers, meters, miles and feet respectively].
required: false
type: string
default: km
zone:
description: The zone to which this component is measuring the distance to. Default is the home zone.
required: false
type: map
keys:
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).
required: false
type: list
devices:
description: A list of devices to compare location against to check closeness to the configured zone.
required: false
type: list
tolerance:
description: The tolerance used to calculate the direction of travel in meters (m) to filter out small GPS coordinate changes.
required: false
type: integer
unit_of_measurement:
description: The unit of measurement for distance. Valid values are (km, m, mi, ft) [kilometers, meters, miles and feet respectively].
required: false
type: string
default: km
{% endconfiguration %}
To add multiple proximity components, simply use a list in your `configuration.yaml` file: