[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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