Skip to content

Commit 84db819

Browse files
vMephfrenck
authored andcommitted
Update device_tracker.markdown (home-assistant#7733)
1 parent 9eab9d3 commit 84db819

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/_components/device_tracker.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ device_tracker:
2727
username: admin
2828
password: YOUR_PASSWORD
2929
new_device_defaults:
30-
track_new_devices: True
31-
hide_if_away: False
30+
track_new_devices: true
31+
hide_if_away: false
3232
```
3333
3434
The following optional parameters can be used with any platform. However device tracker will only look for global settings under the configuration of the first configured platform:
@@ -37,10 +37,10 @@ The following optional parameters can be used with any platform. However device
3737
|----------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3838
| `interval_seconds` | 12 | Seconds between each scan for new devices |
3939
| `consider_home` | 180 | Seconds to wait till marking someone as not home after not being seen. This parameter is most useful for households with Apple iOS devices that go into sleep mode while still at home to conserve battery life. iPhones will occasionally drop off the network and then re-appear. `consider_home` helps prevent false alarms in presence detection when using IP scanners such as Nmap. `consider_home` accepts various time representations, (e.g., the following all represents 3 minutes: `180`, `0:03`, `0:03:00`) |
40-
| `new_device_defaults`| | Default values for new discovered devices. Available options `track_new_devices` (default: `True`), `hide_if_away` (default: `False`) |
40+
| `new_device_defaults`| | Default values for new discovered devices. Available options `track_new_devices` (default: `true`), `hide_if_away` (default: `false`) |
4141

4242
<p class='note'>
43-
Note that setting `track_new_devices: False` will still result in new devices being recorded in `known_devices.yaml`, but they won't be tracked (`track: no`).
43+
Note that setting `track_new_devices:false` will still result in new devices being recorded in `known_devices.yaml`, but they won't be tracked (`track: no`).
4444
</p>
4545

4646
The extended example from above would look like the following sample:
@@ -85,7 +85,7 @@ devicename:
8585
| `icon` | mdi:account | An icon for this device (use as an alternative to `picture`). |
8686
| `gravatar` | None | An email address for the device's owner. If provided, it will override `picture`. |
8787
| `track` | [uses platform setting] | If `yes`/`on`/`true` then the device will be tracked. Otherwise its location and state will not update. |
88-
| `hide_if_away` | False | If `yes`/`on`/`true` then the device will be hidden if it is not at home. |
88+
| `hide_if_away` | false | If `yes`/`on`/`true` then the device will be hidden if it is not at home. |
8989
| `consider_home` | [uses platform setting] | Seconds to wait till marking someone as not home after not being seen. Allows you to override the global `consider_home` setting from the platform configuration on a per device level. |
9090

9191
## {% linkable_title Using GPS device trackers with local network device trackers %}

0 commit comments

Comments
 (0)