From a2eea9be826d00ee2794afdaa65ab1357f83501d Mon Sep 17 00:00:00 2001 From: Laith-Budairi <48382142+Laith-Budairi@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:56:59 +0200 Subject: [PATCH] [evcc] Chargeplan changes on the app are not synced to openHAB (#17645) (#17672) Signed-off-by: Laith Budairi --- .../java/org/openhab/binding/evcc/internal/EvccHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/EvccHandler.java b/bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/EvccHandler.java index 8c910403e2a..50f0c76e531 100644 --- a/bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/EvccHandler.java +++ b/bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/EvccHandler.java @@ -964,7 +964,7 @@ public class EvccHandler extends BaseThingHandler { Plan plan = null; if (vehicle != null) { - vehicle.getPlan(); + plan = vehicle.getPlan(); } if (plan == null && vehiclePlans.get(vehicleName) == null) { vehiclePlans.put(vehicleName, new Triple<>(false, 100f, ZonedDateTime.now().plusHours(12)));