mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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:
parent
2de14d2d65
commit
6e9ef27006
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user