bettwaage-sidequest #2
1 changed files with 1 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue