bettwaage-sidequest #2
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ def check_for_change():
|
||||||
# Is triggered?
|
# Is triggered?
|
||||||
delta = latest["total"] - local_history[-2]["total"]
|
delta = latest["total"] - local_history[-2]["total"]
|
||||||
if math.abs(delta) < min_noticable_difference:
|
if math.abs(delta) < min_noticable_difference:
|
||||||
|
logging.info(f"Delta: {delta}")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Changed weight up or down?
|
# Changed weight up or down?
|
||||||
|
|
Loading…
Reference in a new issue