This commit is contained in:
Borzutzki Robert 2024-11-25 22:30:09 +01:00
parent 6725dceef6
commit d5d72f3fda

View File

@ -63,7 +63,7 @@ def init_monitor():
# Drawing on the Horizontal image # Drawing on the Horizontal image
logging.info("1.Drawing on the Horizontal image...") logging.info("1.Drawing on the Horizontal image...")
drawblack.text((4, 0), 'Noch: ' + duration + 'bis', font = font16, fill = 0) drawblack.text((4, 0), 'Noch: ' + str(duration) + 'bis', font = font16, fill = 0)
drawblack.text((4, 16), 'Hausverbrauch', font = font16, fill = 0) drawblack.text((4, 16), 'Hausverbrauch', font = font16, fill = 0)
drawblack.text((4, 32), 'Strom Import', font = font16, fill = 0) drawblack.text((4, 32), 'Strom Import', font = font16, fill = 0)
drawblack.text((4, 48), 'Batterie', font = font16, fill = 0) drawblack.text((4, 48), 'Batterie', font = font16, fill = 0)