]> git.basschouten.com Git - openhab-addons.git/commitdiff
[Renault] Cockpit/odometer information no longer retrieved #16669 (#16675)
authorDoug Culnane <32482395+dougculnane@users.noreply.github.com>
Mon, 22 Apr 2024 15:10:25 +0000 (17:10 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Apr 2024 15:10:25 +0000 (17:10 +0200)
Signed-off-by: dougculnane <doug@culnane.net>
bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/api/MyRenaultHttpSession.java

index 021457c827088af4be5a8c91d8134f7ec9631068..fb7011c1a9eeea56e5bb3439afec8f6e56ba4056 100644 (file)
@@ -235,7 +235,7 @@ public class MyRenaultHttpSession {
     public void getCockpit(Car car) throws RenaultForbiddenException, RenaultUpdateException,
             RenaultNotImplementedException, RenaultAPIGatewayException {
         JsonObject responseJson = getKamereonResponse("/commerce/v1/accounts/" + kamereonaccountId
-                + "/kamereon/kca/car-adapter/v2/cars/" + config.vin + "/cockpit?country=" + getCountry(config));
+                + "/kamereon/kca/car-adapter/v1/cars/" + config.vin + "/cockpit?country=" + getCountry(config));
         if (responseJson != null) {
             car.setCockpit(responseJson);
         }