display test temps in freedom degrees
This commit is contained in:
1 parent
0dc1a66980
commit
3ecb4fc034
1 file changed
+2
-1
+2
-1
@@ -260,7 +260,8 @@ def test(test_count = 0) -> None:
|
|||||||
else:
|
else:
|
||||||
print(f" Test run incomplete/failed, re-running, loop {test_loop_count}. Updating test list")
|
print(f" Test run incomplete/failed, re-running, loop {test_loop_count}. Updating test list")
|
||||||
for sensor in sensors:
|
for sensor in sensors:
|
||||||
print(f" {sensor['name']} - Temp: {round(sensor['temp'],1)} | Humidity: {sensor['humidity']}")
|
temp_f = (sensor['temp'] * 1.8) + 32
|
||||||
|
print(f" {sensor['name']} - Temp: {round(temp_f,0)} | Humidity: {sensor['humidity']}")
|
||||||
mac_list_new = []
|
mac_list_new = []
|
||||||
for mac in mac_list:
|
for mac in mac_list:
|
||||||
if mac not in passed_list:
|
if mac not in passed_list:
|
||||||
|
|||||||
Reference in new issue
Block a user