SHT40: reduce head to once in 10 minutes
This commit is contained in:
parent
cd54b1896a
commit
0afa5e15a8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue