[evcc] Chargeplan changes on the app are not synced to openHAB (#17645) (#17672)

Signed-off-by: Laith Budairi <laith.budairi@exalt.ps>
This commit is contained in:
Laith-Budairi 2024-10-30 10:56:59 +02:00 committed by GitHub
parent 89e445f4f2
commit a2eea9be82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)));