push amp values to front end
MODIFY
src/server/rest/service/security/TransactionSecurity.ts
src/server/rest/service/security/TransactionSecurity.ts
@@ -318,10 +318,12 @@ export default class TransactionSecurity {
const newConsumption: TransactionConsumption = {
date: consumption.endedAt,
instantPower: consumption.instantPower,
+ instantAmps: consumption.instantAmps,
cumulatedConsumption: consumption.cumulatedConsumption,
stateOfCharge: consumption.stateOfCharge,
cumulatedAmount: consumption.cumulatedAmount,
- limitWatts: consumption.limitWatts
+ limitWatts: consumption.limitWatts,
+ limitAmps: consumption.limitAmps
};
if (consumption.stateOfCharge) {
newConsumption.stateOfCharge = consumption.stateOfCharge;

push amp values to front end