Added more logging

This commit is contained in:
Maximilian Giller 2024-05-06 22:58:43 +02:00
parent 1b5c73127e
commit 1779517c0f

View file

@ -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?