fix
This commit is contained in:
parent
2820d65b4a
commit
177280010c
@ -126,7 +126,6 @@ def monitor(topics):
|
|||||||
for key in topic_info:
|
for key in topic_info:
|
||||||
print(key + ':', topic_info[key])
|
print(key + ':', topic_info[key])
|
||||||
drawblack.text((160, int(topic_info["line"])), topic_info["value"], font = font16, fill = 0)
|
drawblack.text((160, int(topic_info["line"])), topic_info["value"], font = font16, fill = 0)
|
||||||
topic_info["value"] = subscribe(client, topic_info["topic"])
|
|
||||||
|
|
||||||
#drawblack.text((160, 16), str(house_power), 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)
|
#drawblack.text((160, 32), str(power_import_export), font = font16, fill = 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user