From 138e7cf315bf4846cdda866c038deb02be4cb789 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 15 Oct 2026 21:30:39 -0700 Subject: [PATCH] display all test temps in freedom degrees --- api/ble.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/ble.py b/api/ble.py index 5b63e02..d7a2d07 100644 --- a/api/ble.py +++ b/api/ble.py @@ -255,7 +255,8 @@ def test(test_count = 0) -> None: if len(mac_list) == len(passed_list): print(f" Test run {test_count} completed, yee-haw") 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']}") test_result = True else: print(f" Test run incomplete/failed, re-running, loop {test_loop_count}. Updating test list")