This commit is contained in:
Robert 2024-02-02 00:01:32 +01:00
parent 820ad99a2f
commit d4a1547896

View File

@ -127,7 +127,7 @@ def monitor(topics):
print(key + ':', topic_info[key])
print(topic_info["line"])
print(topic_info["value"])
drawblack.text((160, int("0")), topic_info["value"], font = font16, fill = 0)
drawblack.text((160, int("0")), str(topic_info["value"]), font = font16, fill = 0)
#drawblack.text((160, 16), str(house_power), font = font16, fill = 0)
#drawblack.text((160, 32), str(power_import_export), font = font16, fill = 0)