From 52d77eabca8a6dc20cae837e1f62931f5d35d5bf Mon Sep 17 00:00:00 2001 From: DeJe63 Date: Sun, 26 Feb 2023 11:45:46 +0100 Subject: [PATCH] [goecharger] Fix command sending (#14494) --- .../goecharger/internal/handler/GoEChargerV2Handler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.openhab.binding.goecharger/src/main/java/org/openhab/binding/goecharger/internal/handler/GoEChargerV2Handler.java b/bundles/org.openhab.binding.goecharger/src/main/java/org/openhab/binding/goecharger/internal/handler/GoEChargerV2Handler.java index a853a8a14..027af1eaf 100644 --- a/bundles/org.openhab.binding.goecharger/src/main/java/org/openhab/binding/goecharger/internal/handler/GoEChargerV2Handler.java +++ b/bundles/org.openhab.binding.goecharger/src/main/java/org/openhab/binding/goecharger/internal/handler/GoEChargerV2Handler.java @@ -275,11 +275,13 @@ public class GoEChargerV2Handler extends GoEChargerBaseHandler { if (command instanceof DecimalType) { value = String.valueOf(((DecimalType) command).intValue()); } + break; case TRANSACTION: key = "trx"; if (command instanceof DecimalType) { value = String.valueOf(((DecimalType) command).intValue()); } + break; } if (key != null && value != null) {