aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klippy/extras/htu21d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/htu21d.py b/klippy/extras/htu21d.py
index 68299418..52e2f75e 100644
--- a/klippy/extras/htu21d.py
+++ b/klippy/extras/htu21d.py
@@ -199,7 +199,7 @@ class HTU21D:
if (self.humidity < 0):
#due to RH accuracy, measured value might be
# slightly less than 0 or more 100
- self.temp = 0
+ self.humidity = 0
elif (self.humidity > 100):
self.humidity = 100
# Only for HTU21D & SHT21.