From 0afa5e15a825ce9141aadc742b65238ccda88805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Wed, 22 Feb 2023 03:37:54 +0100 Subject: [PATCH] SHT40: reduce head to once in 10 minutes --- sensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors.py b/sensors.py index a01ef4a..629f271 100644 --- a/sensors.py +++ b/sensors.py @@ -115,7 +115,7 @@ if enable_sht: sht.mode = SHT40_DEFAULT class SHT40(Sensor): - def __init__(self, what, every=60): + def __init__(self, what, every=600): super().__init__() if what not in ("Temperature", "Humidity"): print("ERROR: invalid sensor value: ", what)