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/device_tracker.markdown
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ device_tracker:
27
27
username: admin
28
28
password: YOUR_PASSWORD
29
29
new_device_defaults:
30
-
track_new_devices: True
31
-
hide_if_away: False
30
+
track_new_devices: true
31
+
hide_if_away: false
32
32
```
33
33
34
34
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
| `interval_seconds` | 12 | Seconds between each scan for new devices |
39
39
| `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`) |
41
41
42
42
<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`).
44
44
</p>
45
45
46
46
The extended example from above would look like the following sample:
@@ -85,7 +85,7 @@ devicename:
85
85
| `icon` | mdi:account | An icon for this device (use as an alternative to `picture`). |
86
86
| `gravatar` | None | An email address for the device's owner. If provided, it will override `picture`. |
87
87
| `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. |
89
89
| `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. |
90
90
91
91
## {% linkable_title Using GPS device trackers with local network device trackers %}
0 commit comments