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)