[goecharger] Fix command sending (#14494)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user