Skip to content

Commit 81ce337

Browse files
committed
Improve change from home-assistant#3233 and update JSON output
1 parent 6493913 commit 81ce337

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

source/_components/device_tracker.tado.markdown

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ ha_release: 0.37
1414

1515
The `tado` device tracker is using the [Tado Smart Thermostat](https://www.tado.com/) and it's support for person presence detection based on smartphone location by geofencing.
1616

17-
This tracker uses the Tado API to determine if a mobile device is at home.
18-
It tracks all devices in your home that Tado knows about.
17+
This tracker uses the Tado API to determine if a mobile device is at home. It tracks all devices in your home that Tado knows about.
1918

2019
To use the Tado platform in your installation, add the following to your `configuration.yaml` file:
2120

@@ -37,15 +36,25 @@ Configuration variables:
3736
After configuration, your device has to be at home at least once before showing up as *home* or *away*.
3837
Polling Tado API for presence information will happen at most once every 30 seconds.
3938
40-
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked. Beware that the tado (v2) API does not provide GPS location of devices, only a bearing, therefore home assistant only uses home/not-home status.
39+
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked. Beware that the Tado (v2) API does not provide GPS location of devices, only a bearing, therefore Home Assistant only uses `home`/`not-home` status.
4140

4241
### {% linkable_title Finding your `home_id` %}
4342
Find your `home_id` by browsing to `https://my.tado.com/api/v2/me?username=YOUR_USERNAME&password=YOUR_PASSWORD`. There you'll see something like the following:
4443

4544
```json
46-
{"name":"Mark","email":"your@email.tld","username":"your@email.tld",
47-
"homes":[{"id":12345,"name":"Home Sweet Home"}],"locale":"en_US",
48-
"mobileDevices":[]}
45+
{
46+
"name": "Mark",
47+
"email": "your@email.tld",
48+
"username": "your@email.tld",
49+
"homes": [
50+
{
51+
"id": 12345,
52+
"name": "Home Sweet Home"
53+
}
54+
],
55+
"locale": "en_US",
56+
"mobileDevices": []
57+
}
4958
```
5059

5160
In this example `12345` is the `home_id` you'll need to configure.

0 commit comments

Comments
 (0)