fix
This commit is contained in:
parent
2242de8b48
commit
2820d65b4a
@ -125,7 +125,7 @@ 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, 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"])
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user