You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/proximity.markdown
+20-13Lines changed: 20 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -38,23 +38,20 @@ To enable this component in your installation, add the following to your `config
38
38
```yaml
39
39
# Example configuration.yaml entry
40
40
proximity:
41
-
zone: home
42
-
ignored_zones:
43
-
- twork
44
-
- elschool
45
-
devices:
46
-
- device_tracker.nwaring_nickmobile
47
-
- device_tracker.eleanorsiphone
48
-
- device_tracker.tsiphone
49
-
tolerance: 50
50
-
unit_of_measurement: mi
41
+
home:
42
+
ignored_zones:
43
+
- twork
44
+
devices:
45
+
- device_tracker.nwaring_nickmobile
46
+
tolerance: 50
47
+
unit_of_measurement: mi
51
48
```
52
49
53
50
Configuration variables:
54
51
55
52
- **zone** (*Optional*): The zone to which this component is measuring the distance to. Default is the home zone.
56
53
- **ignored_zones** array (*Optional*): Where proximity is not calculated for a device (either the device being monitored or ones being compared (e.g. work or school).
57
-
- **devices** array (*Optional*): A list of devices to compare location against to check closeness to the configured zone.
54
+
- **devices** array (*Optional*): A list of devices to compare location against to check closeness to the configured zone.
58
55
- **tolerance** (*Optional*): The tolerance used to calculate the direction of travel in meters (m) to filter out small GPS coordinate changes.
59
56
- **unit_of_measurement** (*Optional*): The unit of measurement for distance. Valid values are (km, m, mi, ft) [kilometers, meters, miles and feet respectfully]. The default value is kilometers.
60
57
@@ -63,11 +60,21 @@ To add multiple proximity components, simply use a list in your `configuration.y
0 commit comments