Fixed recurtion in getPower
MODIFY
src/utils/Utils.ts
src/utils/Utils.ts
@@ -758,13 +758,6 @@ export default class Utils {
}
}
}
- if (!totalAmps) {
- const power = Utils.getChargingStationPower(chargingStation, chargePoint, connectorId);
- const voltage = Utils.getChargingStationVoltage(chargingStation, chargePoint, connectorId);
- if (voltage && power) {
- return power / voltage;
- }
- }
return totalAmps;
}

Fixed recurtion in getPower #1685