fix
This commit is contained in:
parent
9d31bc8441
commit
0570e5c93c
@ -139,10 +139,10 @@ try:
|
|||||||
#else:
|
#else:
|
||||||
drawblack.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0)
|
drawblack.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0)
|
||||||
#drawblack.rectangle((150, 30, 220, 50), fill = 255)
|
#drawblack.rectangle((150, 30, 220, 50), fill = 255)
|
||||||
#if value_energyImportExport > 0:
|
if value_energyImportExport < 0:
|
||||||
#drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0)
|
drawblack.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, 60, 220, 50), fill = 0)
|
#drawblack.rectangle((150, 60, 220, 50), fill = 0)
|
||||||
drawblack.text((150, 45), str(value_houseBatterySoC) + " %", font = font10, fill = 0)
|
drawblack.text((150, 45), str(value_houseBatterySoC) + " %", font = font10, fill = 0)
|
||||||
#drawblack.rectangle((150, 75, 220, 50), fill = 255)
|
#drawblack.rectangle((150, 75, 220, 50), fill = 255)
|
||||||
|
Loading…
Reference in New Issue
Block a user