From 9df196e6ecac28675ea08eea4316b362a85f4fc7 Mon Sep 17 00:00:00 2001 From: Jakob Lichterfeld Date: Sat, 6 Jul 2024 14:39:37 +0200 Subject: [PATCH 1/2] doc: fix typo in MQTT location JSON format --- website/docs/integrations/mqtt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/integrations/mqtt.md b/website/docs/integrations/mqtt.md index 881455fe42..ed8ed30fb9 100644 --- a/website/docs/integrations/mqtt.md +++ b/website/docs/integrations/mqtt.md @@ -29,7 +29,7 @@ Vehicle data will be published to the following topics: | | | | | `teslamate/cars/$car_id/latitude` | 35.278131 | DEPRECATED: Last reported car latitude | | `teslamate/cars/$car_id/longitude` | 29.744801 | DEPRECATED: Last reported car longitude | -| `teslamate/cars/$car_id/location` |
{
"latitude": 35.278131,
"longitude: 29.744801
}
| Last reported car location (json blob) | +| `teslamate/cars/$car_id/location` |
{
"latitude": 35.278131,
"longitude": 29.744801
}
| Last reported car location (json blob) | | `teslamate/cars/$car_id/shift_state` | D | Current/Last Shift State (D/N/R/P) | | `teslamate/cars/$car_id/power` | -9 | Current battery power in watts. Positive value on discharge, negative value on charge | | `teslamate/cars/$car_id/speed` | 12 | Current Speed in km/h | From b2f988974a8fcf7546b3d58539d80ea919d1adef Mon Sep 17 00:00:00 2001 From: Jakob Lichterfeld Date: Sat, 6 Jul 2024 14:43:11 +0200 Subject: [PATCH 2/2] doc: fix typo in MQTT location JSON format --- website/docs/integrations/mqtt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/integrations/mqtt.md b/website/docs/integrations/mqtt.md index ed8ed30fb9..a91d411585 100644 --- a/website/docs/integrations/mqtt.md +++ b/website/docs/integrations/mqtt.md @@ -29,7 +29,7 @@ Vehicle data will be published to the following topics: | | | | | `teslamate/cars/$car_id/latitude` | 35.278131 | DEPRECATED: Last reported car latitude | | `teslamate/cars/$car_id/longitude` | 29.744801 | DEPRECATED: Last reported car longitude | -| `teslamate/cars/$car_id/location` |
{
"latitude": 35.278131,
"longitude": 29.744801
}
| Last reported car location (json blob) | +| `teslamate/cars/$car_id/location` |
\{
"latitude": 35.278131,
"longitude": 29.744801
\}
| Last reported car location (json blob) | | `teslamate/cars/$car_id/shift_state` | D | Current/Last Shift State (D/N/R/P) | | `teslamate/cars/$car_id/power` | -9 | Current battery power in watts. Positive value on discharge, negative value on charge | | `teslamate/cars/$car_id/speed` | 12 | Current Speed in km/h |