From fea7c5cbea09178d00024e2b83c2367b7e0b5781 Mon Sep 17 00:00:00 2001 From: Michael <35783820+mib1185@users.noreply.github.com> Date: Mon, 5 Feb 2024 08:51:38 +0100 Subject: [PATCH] Add additional proximity sensors (#31236) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: Franck Nijhof --- source/_integrations/proximity.markdown | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/source/_integrations/proximity.markdown b/source/_integrations/proximity.markdown index 600442d1b8c..17966306a89 100644 --- a/source/_integrations/proximity.markdown +++ b/source/_integrations/proximity.markdown @@ -31,7 +31,6 @@ The following sensor entities will be created. ### Distance For each tracked [device](/integrations/device_tracker/) or [person](/integrations/person/), a sensor is created showing the distance from the monitored zone in a unit depending on your [Home Assistant Unit System](/docs/configuration/basic) selection. When a tracked person or device enters the monitored zone, the distance is set to 0. -You can use the [Min/Max](/integrations/min_max) integration to determine the nearest and furthest distance. ### Direction of travel @@ -43,10 +42,24 @@ For each tracked device or person, a sensor is created showing the direction of - `towards` - `unknown` +
+To calculate the distance and the direction of travel for a tracked device or person, they must specify a geo-location. +
+ ### Nearest device A sensor is created showing the device or person which is nearest (_shortest distance_) to the monitored zone. If several devices or persons are at the same nearest distance, this sensor displays them all. -
-To calculate the distance and the direction of travel for a tracked device or person, they must specify a geo-location. -
+### Nearest distance + +This sensor shows the distance of the device or person nearest to the monitored zone. The unit depends on your settings for the [Home Assistant unit system](/docs/configuration/basic). When a tracked person or device enters the monitored zone, the distance is set to 0. + +### Nearest Direction of travel + +This sensor shows the direction of travel of the nearest device or person to the monitored zone. Possible states are: + +- `arrived` +- `away_from` +- `stationary` +- `towards` +- `unknown`