diff --git a/src/modules/Sht20.cpp b/src/modules/Sht20.cpp index e53994ff..6f30f78d 100644 --- a/src/modules/Sht20.cpp +++ b/src/modules/Sht20.cpp @@ -14,7 +14,7 @@ class Sht20t : public IoTSensor { void doByInterval() { sht->read(); float value = sht->getTemperature(); - if (value != -46.85) regEvent(value, "Sht20t"); + if (value > -46.85F) regEvent(value, "Sht20t"); else SerialPrint("E", "Sensor Sht20t", "Error"); }