fix(simulator): lookup OCPP configuration key case insensitively
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 10 Feb 2023 23:40:16 +0000 (00:40 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 10 Feb 2023 23:40:16 +0000 (00:40 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts

index 3d5517dde9c8f33dbbea49e29020994427402383..b1df54b787b7f826d4b1863266af524031742704 100644 (file)
@@ -443,7 +443,8 @@ export default class OCPP16IncomingRequestService extends OCPPIncomingRequestSer
       for (const key of commandPayload.key) {
         const keyFound = ChargingStationConfigurationUtils.getConfigurationKey(
           chargingStation,
-          key
+          key,
+          true
         );
         if (keyFound) {
           if (Utils.isUndefined(keyFound.visible) === true) {