Update FunHouse_HA_Companion cody.py file
Line 87 erroneously referenced "light" rather than "pressure" causing incorrect pressure value to display on screen.
This commit is contained in:
parent
d9656b8ba5
commit
5baaf52ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ def update_enviro():
|
||||||
|
|
||||||
funhouse.set_text("{:.1f}{}".format(environment["temperature"], unit), temp_label)
|
funhouse.set_text("{:.1f}{}".format(environment["temperature"], unit), temp_label)
|
||||||
funhouse.set_text("{:.1f}%".format(environment["humidity"]), hum_label)
|
funhouse.set_text("{:.1f}%".format(environment["humidity"]), hum_label)
|
||||||
funhouse.set_text("{}kPa".format(environment["light"]), pres_label)
|
funhouse.set_text("{}kPa".format(environment["pressure"]), pres_label)
|
||||||
|
|
||||||
|
|
||||||
def connected(client, userdata, result, payload):
|
def connected(client, userdata, result, payload):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue