From c6dcc3311af6547a0d2d618b8c27a84424c27b4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 16 Nov 2023 16:37:31 +0100 Subject: [PATCH] docs: remove wrong comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts b/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts index 391f2f0a..734bfcd2 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts @@ -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, -- 2.34.1