[goecharger] Fix command sending (#14494)

This commit is contained in:
DeJe63
2023-02-26 11:45:46 +01:00
committed by GitHub
parent 0675a80120
commit 52d77eabca

View File

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