Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
private getPowerDivider(): number {
let powerDivider = this.hasEvses ? this.getNumberOfEvses() : this.getNumberOfConnectors();
- if (this.stationInfo?.powerSharedByConnectors) {
+ if (this.stationInfo?.powerSharedByConnectors === true) {
powerDivider = this.getNumberOfRunningTransactions();
}
return powerDivider;
requestPayload.transactionId
} STOPPED on ${
chargingStation.stationInfo.chargingStationId
- }#${transactionConnectorId} with status '${payload.idTagInfo?.status ?? 'undefined'}'`;
+ }#${transactionConnectorId} with status '${payload.idTagInfo?.status}'`;
if (
isNullOrUndefined(payload.idTagInfo) ||
payload.idTagInfo?.status === OCPP16AuthorizationStatus.ACCEPTED