From 7cc17f39cff0926cecf4d5646a4c0326e1157de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Thu, 6 Dec 2018 13:07:03 +0100 Subject: [PATCH] Update proximity.markdown (#7748) --- source/_components/proximity.markdown | 45 +++++++++++++-------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/source/_components/proximity.markdown b/source/_components/proximity.markdown index 63952d3229f..b499efbd6e5 100644 --- a/source/_components/proximity.markdown +++ b/source/_components/proximity.markdown @@ -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: