]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fix location with firmware 2023.38.x (#16029)
authorKai Kreuzer <kai@openhab.org>
Sat, 9 Dec 2023 21:25:45 +0000 (22:25 +0100)
committerGitHub <noreply@github.com>
Sat, 9 Dec 2023 21:25:45 +0000 (22:25 +0100)
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: Paul Smedley <paul@smedley.id.au>
bundles/org.openhab.binding.tesla/src/main/java/org/openhab/binding/tesla/internal/handler/TeslaAccountHandler.java

index 62dbc82830a62da4552f2abc9b75f60db4711628..776d32ef521420633c0abf2210a9f6e63dec89eb 100644 (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);
     }