Skip to content

Commit 9e3ac71

Browse files
authored
Update device_tracker.mqtt.markdown
1 parent 1bff05b commit 9e3ac71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/device_tracker.mqtt.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This platform allows for two different types of MQTT payloads. The first one is
3939
}
4040
```
4141
The second type of payload is a JSON formatted string containing GPS information, for example:
42-
```json
42+
```
4343
{'lon': 1.0,'acc': 60,'lat': 2.0,'batt': 99.9}
4444
```
4545
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

Comments
 (0)