This commit is contained in:
Robert Borzutzki 2022-10-20 11:49:41 +02:00
parent 684a8df645
commit 7f73dae465

View File

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