From 684a8df6452341dad132ab87599fc5435a37924e Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Thu, 20 Oct 2022 11:48:57 +0200 Subject: [PATCH] fix --- examples/solarmonitor-black.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/solarmonitor-black.py b/examples/solarmonitor-black.py index f4c02b3..928163a 100644 --- a/examples/solarmonitor-black.py +++ b/examples/solarmonitor-black.py @@ -133,12 +133,12 @@ try: logging.info("BatI/O: "+str(value_houseBatteryLoadUnload)) drawblack.rectangle((150, 0, 220, 50), fill = 255) drawblack.text((150, 0), str(value_pvProduction) + " W", font = font10, fill = 0) - drawblack.rectangle((150, 15, 220, 50), fill = 0) + drawblack.rectangle((150, 15, 220, 50), fill = 255) #if value_pvProduction < value_wHouseConsumption: #drawred.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0) #else: drawblack.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0) - drawblack.rectangle((150, 30, 220, 50), fill = 255) + drawblack.rectangle((150, 30, 220, 50), fill = 0) #if value_energyImportExport > 0: #drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) #else: