[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) {
|
if (command instanceof DecimalType) {
|
||||||
value = String.valueOf(((DecimalType) command).intValue());
|
value = String.valueOf(((DecimalType) command).intValue());
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case TRANSACTION:
|
case TRANSACTION:
|
||||||
key = "trx";
|
key = "trx";
|
||||||
if (command instanceof DecimalType) {
|
if (command instanceof DecimalType) {
|
||||||
value = String.valueOf(((DecimalType) command).intValue());
|
value = String.valueOf(((DecimalType) command).intValue());
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (key != null && value != null) {
|
if (key != null && value != null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user