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.mqtt.markdown
+1-1
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ This platform allows for two different types of MQTT payloads. The first one is
39
39
}
40
40
```
41
41
The second type of payload is a JSON formatted string containing GPS information, for example:
42
-
```json
42
+
```
43
43
{'lon': 1.0,'acc': 60,'lat': 2.0,'batt': 99.9}
44
44
```
45
45
where `lon` is the longitude, `lat` is the latitude, `acc` is the accuracy in meters, `batt` is the current battery level of the device sending the update.
0 commit comments