[goecharger] Fix command sending (#14494)
This commit is contained in:
parent
0675a80120
commit
52d77eabca
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue