From 0fb4ef0dd4a56e887b780794b47714e6bb57475e Mon Sep 17 00:00:00 2001 From: Dag Stuan Date: Sat, 11 Nov 2023 21:08:57 +0100 Subject: [PATCH] fix: Supply 'endpoints' parameter to vehicle_data endpoint (#435) closes #434 --- teslajsonpy/endpoints.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/teslajsonpy/endpoints.json b/teslajsonpy/endpoints.json index 46aab2ed..f39e8708 100644 --- a/teslajsonpy/endpoints.json +++ b/teslajsonpy/endpoints.json @@ -31,7 +31,7 @@ }, "VEHICLE_DATA": { "TYPE": "GET", - "URI": "api/1/vehicles/{vehicle_id}/vehicle_data", + "URI": "api/1/vehicles/{vehicle_id}/vehicle_data?endpoints=charge_state;climate_state;drive_state;gui_settings;vehicle_config;vehicle_state;location_data", "AUTH": true }, "VEHICLE_SERVICE_DATA": { @@ -502,7 +502,7 @@ "AUTH": true, "TYPE": "GET", "URI": "api/1/energy_sites/{site_id}/site_status" - }, + }, "OPERATION_MODE": { "TYPE": "POST", "URI": "api/1/energy_sites/{site_id}/operation", @@ -2767,5 +2767,5 @@ "AUTH": true, "TYPE": "POST", "URI": "api/1/energy_sites/{site_id}/operation" - } -} \ No newline at end of file + } +}