X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FHelpers.ts;h=a97a9f5ad2ecfd14b4ac4a7f934b7c8d63f60715;hb=cc6845fc431ddf5cd37d70b750abae3c313a3589;hp=49ec116ec6c1441fd501111e2ccd94130890c84d;hpb=194b6bf30eaffc3c6c07b244b1edea26c6bb77ed;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/Helpers.ts b/src/charging-station/Helpers.ts index 49ec116e..a97a9f5a 100644 --- a/src/charging-station/Helpers.ts +++ b/src/charging-station/Helpers.ts @@ -295,7 +295,7 @@ export const checkConnectorsConfiguration = ( stationTemplate.Connectors?.[0] != null ? templateMaxConnectors - 1 : templateMaxConnectors if ( configuredMaxConnectors > templateMaxAvailableConnectors && - stationTemplate?.randomConnectors === false + stationTemplate?.randomConnectors !== true ) { logger.warn( `${logPrefix} Number of connectors exceeds the number of connector configurations in template ${templateFile}, forcing random connector configurations affectation`