From a36fd536b16edd6afb0e33e4b7c43c7ae3f26281 Mon Sep 17 00:00:00 2001 From: Michael Cardillo Date: Thu, 21 Sep 2023 14:26:52 -1000 Subject: [PATCH] Change C to Celsius for OCPP MeterValue 'C' is not listed as a UnitOfMeasure in OCPP 1.6 Section 7.45. Changing 'C' to 'Celsius' to appease protocol validators. --- src/ocpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocpp.cpp b/src/ocpp.cpp index 192ca25c..2150ed08 100644 --- a/src/ocpp.cpp +++ b/src/ocpp.cpp @@ -207,7 +207,7 @@ void ArduinoOcppTask::loadEvseBehavior() { return evse->getTemperature(EVSE_MONITOR_TEMP_MONITOR); }, "Temperature", - "C"); + "Celsius"); setSmartChargingOutput([this] (float power, float current, int nphases) { if (power >= 0.f && current >= 0.f) {