From 787a121794d2859846f174fc682d7a2aedced779 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Thu, 20 Oct 2022 11:55:07 +0200 Subject: [PATCH] fix --- examples/solarmonitor-black.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/solarmonitor-black.py b/examples/solarmonitor-black.py index 5c57907..8f9e4ff 100644 --- a/examples/solarmonitor-black.py +++ b/examples/solarmonitor-black.py @@ -143,11 +143,11 @@ try: #drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) #else: drawblack.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) - drawblack.rectangle((150, 45, 220, 100), fill = 0) - drawblack.text((150, 45), str(value_houseBatterySoC) + " %", font = font10, fill = 0) - drawblack.rectangle((150, 60, 220, 50), fill = 255) + drawblack.rectangle((150, 60, 220, 50), fill = 0) + drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font10, fill = 0) + drawblack.rectangle((150, 75, 220, 50), fill = 255) #if value_houseBatteryLoadUnload > 0: - drawblack.text((150, 60), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0) + drawblack.text((150, 75), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0) #else: #drawred.text((150, 60), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0)