docs: remove wrong comment
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 16 Nov 2023 15:37:31 +0000 (16:37 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 16 Nov 2023 15:37:31 +0000 (16:37 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts

index 391f2f0a96ea4a1ce2537e4eaa81072da7395583..734bfcd26f872069c4a8995ab56ff4656e6a370f 100644 (file)
@@ -769,8 +769,7 @@ export class OCPP16ServiceUtils extends OCPPServiceUtils {
         2,
       );
       const energyValueRounded = isNotEmptyString(energySampledValueTemplate.value)
-        ? // Cumulate the fluctuated value around the static one
-          getRandomFloatFluctuatedRounded(
+        ? getRandomFloatFluctuatedRounded(
             OCPP16ServiceUtils.getLimitFromSampledValueTemplateCustomValue(
               energySampledValueTemplate.value,
               connectorMaximumEnergyRounded,