Fix location with firmware 2023.38.x (#16029)

Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: Paul Smedley <paul@smedley.id.au>
This commit is contained in:
Kai Kreuzer 2023-12-09 22:25:45 +01:00 committed by GitHub
parent 2de14d2d65
commit 6e9ef27006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,8 @@ public class TeslaAccountHandler extends BaseBridgeHandler {
this.vehiclesTarget = teslaTarget.path(API_VERSION).path(VEHICLES);
this.vehicleTarget = vehiclesTarget.path(PATH_VEHICLE_ID);
this.dataRequestTarget = vehicleTarget.path(PATH_DATA_REQUEST);
this.dataRequestTarget = vehicleTarget.path(PATH_DATA_REQUEST).queryParam("endpoints",
"location_data;charge_state;climate_state;vehicle_state;gui_settings;vehicle_config");
this.commandTarget = vehicleTarget.path(PATH_COMMAND);
this.wakeUpTarget = vehicleTarget.path(PATH_WAKE_UP);
}