Skip to content

Commit 9d2e04f

Browse files
authored
Update README.md
1 parent 4e56ace commit 9d2e04f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ composite:
7575
- **default_options** (*Optional*): Defines default values for corresponding options under **trackers**.
7676
- **require_movement** (*Optional*): Default is `false`.
7777
- **driving_speed** (*Optional*)
78+
- **end_driving_delay** (*Optoinal*)
7879

7980
- **trackers**: The list of composite trackers to create. For each entry see [Tracker entries](#tracker-entries).
8081

@@ -85,6 +86,7 @@ composite:
8586
- **id** (*Optional*): Object ID (i.e., part of entity ID after the dot) of composite device. If not supplied, then object ID will be generated from the `name` variable. For example, `My Name` would result in a tracker entity ID of `device_tracker.my_name`. The speed sensor's object ID will be the same as for the device tracker, but with a suffix of "`_speed`" added (e.g., `sensor.my_name_speed`.)
8687
- **require_movement** (*Optional*): `true` or `false`. If `true`, will skip update from a GPS-based tracker if it has not moved. Specifically, if circle defined by new GPS coordinates and accuracy overlaps circle defined by previous GPS coordinates and accuracy then update will be ignored.
8788
- **driving_speed** (*Optional*): Defines a driving speed threshold (in MPH or KPH, depending on general unit system setting.) If set, and current speed is at or above this value, and tracker is not in a zone, then the state of the tracker will be set to `driving`.
89+
- **end_driving_delay** (*Optional*): Amount of time to wait before changing state back to `not_home` (i.e., Away) when speed falls below set `driving_speed`. This can prevent state changing back and forth to `driving` (i.e., Driving) when, e.g., slowing for a turn or stopping at a traffic light.
8890
- **entity_picture** (*Optional*): Specifies image to use for entity. Can be an URL or a file in "/local". Note that /local is used by the frontend to access files in `<config_path>/www` (which is typically `/config/www`.) You can specify file names with or without the "/local" prefix. If this option is used, then `use_picture` cannot be used.
8991

9092
#### Entity Dictionary
@@ -152,6 +154,7 @@ composite:
152154
default_options:
153155
require_movement: true
154156
driving_speed: 15
157+
end_driving_delay: "00:02:00"
155158
trackers:
156159
- name: Me
157160
driving_speed: 20
@@ -165,6 +168,8 @@ composite:
165168
- name: Better Half
166169
id: wife
167170
require_movement: false
171+
end_driving_delay:
172+
seconds: 30
168173
entity_picture: /local/wife.jpg
169174
entity_id: device_tracker.platform_wife
170175
```

0 commit comments

Comments
 (0)