From a2aab83b6cf65314e13841e2b92cc28c00744b8e Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 17:51:14 +0200 Subject: [PATCH] add fix --- examples/mqtt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/mqtt.py b/examples/mqtt.py index 7a70883..b059806 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -117,6 +117,8 @@ def on_message(client, userdata, msg): line = 60 print(line) + if value_pvProduction == "": + value_pvProduction = "" print(value_pvProduction) print(value_wHouseConsumption) print(value_energyImportExport)