This commit is contained in:
Robert Borzutzki 2022-10-20 11:55:07 +02:00
parent a4289bb336
commit 787a121794

View File

@ -143,11 +143,11 @@ try:
#drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) #drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0)
#else: #else:
drawblack.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) drawblack.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0)
drawblack.rectangle((150, 45, 220, 100), fill = 0) drawblack.rectangle((150, 60, 220, 50), fill = 0)
drawblack.text((150, 45), str(value_houseBatterySoC) + " %", font = font10, fill = 0) drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font10, fill = 0)
drawblack.rectangle((150, 60, 220, 50), fill = 255) drawblack.rectangle((150, 75, 220, 50), fill = 255)
#if value_houseBatteryLoadUnload > 0: #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: #else:
#drawred.text((150, 60), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0) #drawred.text((150, 60), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0)