From 641910fa00d979e435e0936f7bb68154730bad95 Mon Sep 17 00:00:00 2001 From: dingo35 Date: Wed, 4 Sep 2024 08:38:33 +0200 Subject: [PATCH] evse.cpp: Change MQTT topic EVEVMeterEnergyCharged back to EVEnergyCharged (#123) --- SmartEVSE-3/src/evse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartEVSE-3/src/evse.cpp b/SmartEVSE-3/src/evse.cpp index 3b54ad18..54a239a3 100644 --- a/SmartEVSE-3/src/evse.cpp +++ b/SmartEVSE-3/src/evse.cpp @@ -3033,7 +3033,7 @@ void mqttPublishData() { #endif if (EVMeter.Type) { MQTTclient.publish(MQTTprefix + "/EVChargePower", String(EVMeter.PowerMeasured), false, 0); - MQTTclient.publish(MQTTprefix + "/EVEVMeterEnergyCharged", String(EVMeter.EnergyCharged), true, 0); + MQTTclient.publish(MQTTprefix + "/EVEnergyCharged", String(EVMeter.EnergyCharged), true, 0); MQTTclient.publish(MQTTprefix + "/EVTotalEnergyCharged", String(EVMeter.Energy), false, 0); } if (homeBatteryLastUpdate)