fix
This commit is contained in:
parent
155bfd19f1
commit
daa73cac52
@ -115,9 +115,9 @@ try:
|
|||||||
else:
|
else:
|
||||||
drawblack.text((5, 20), 'Hausverbrauch', font = font16, fill = 0)
|
drawblack.text((5, 20), 'Hausverbrauch', font = font16, fill = 0)
|
||||||
if value_energyImportExport > 0:
|
if value_energyImportExport > 0:
|
||||||
drawred.text((5, 40), 'Strom Import', font = font16, fill = 0)
|
drawred.text((7, 40), 'Strom Import', font = font16, fill = 0)
|
||||||
else:
|
else:
|
||||||
drawblack.text((5, 40), 'Strom Export', font = font16, fill = 0)
|
drawblack.text((7, 40), 'Strom Export', font = font16, fill = 0)
|
||||||
|
|
||||||
drawblack.text((5, 60), 'Batterie', font = font16, fill = 0)
|
drawblack.text((5, 60), 'Batterie', font = font16, fill = 0)
|
||||||
if value_houseBatteryLoadUnload > 0:
|
if value_houseBatteryLoadUnload > 0:
|
||||||
@ -141,7 +141,7 @@ try:
|
|||||||
if value_energyImportExport > 0:
|
if value_energyImportExport > 0:
|
||||||
drawred.text((150, 40), str(value_energyImportExport) + " W", font = font16, fill = 0)
|
drawred.text((150, 40), str(value_energyImportExport) + " W", font = font16, fill = 0)
|
||||||
else:
|
else:
|
||||||
drawblack.text((150, 40), str(value_energyImportExport) + " W", font = font16, fill = 0)
|
drawblack.text((150, 40), str(-value_energyImportExport) + " W", font = font16, fill = 0)
|
||||||
drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font16, fill = 0)
|
drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font16, fill = 0)
|
||||||
if value_houseBatteryLoadUnload > 0:
|
if value_houseBatteryLoadUnload > 0:
|
||||||
drawblack.text((150, 80), str(value_houseBatteryLoadUnload) + " W", font = font16, fill = 0)
|
drawblack.text((150, 80), str(value_houseBatteryLoadUnload) + " W", font = font16, fill = 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user