From 7736ff0397619c93b29ba0601cafd70e23c4e51d Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Mon, 6 May 2024 22:48:30 +0200 Subject: [PATCH] BL available --- src/endpoints/handlers/bett.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/endpoints/handlers/bett.py b/src/endpoints/handlers/bett.py index 3cca9dd..e482472 100644 --- a/src/endpoints/handlers/bett.py +++ b/src/endpoints/handlers/bett.py @@ -140,12 +140,9 @@ async def log_bed_weights(): try: tl = r.get(f"{bett_ip}/sensor/tl/").json()["value"] tr = r.get(f"{bett_ip}/sensor/tr/").json()["value"] - # bl = r.get(f"{bett_ip}/sensor/bl/").json()["value"] + bl = r.get(f"{bett_ip}/sensor/bl/").json()["value"] br = r.get(f"{bett_ip}/sensor/br/").json()["value"] - # Remove later - bl = br - add_weights_to_log(tl, tr, bl, br) check_for_change() except: