From ccc9d55e387f9dbe92e816990bbec80100ecb1c6 Mon Sep 17 00:00:00 2001 From: Ralf Bauer Date: Fri, 2 Jun 2023 00:12:03 +0200 Subject: [PATCH] used new interface --- src/MqttHandleInverterTotal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MqttHandleInverterTotal.cpp b/src/MqttHandleInverterTotal.cpp index 55a66467..d345055f 100644 --- a/src/MqttHandleInverterTotal.cpp +++ b/src/MqttHandleInverterTotal.cpp @@ -34,6 +34,6 @@ void MqttHandleInverterTotalClass::loop() _lastPublish.set(Configuration.get().Mqtt_PublishInterval * 1000); - database.write(totalAcYieldTotal); // write value to database + database.write(Datastore.getTotalAcYieldTotalEnabled()); // write value to database } }