diff --git a/tasmota/xsns_06_dht.ino b/tasmota/xsns_06_dht.ino index 472e2447e..bd6937f19 100644 --- a/tasmota/xsns_06_dht.ino +++ b/tasmota/xsns_06_dht.ino @@ -162,7 +162,7 @@ bool DhtRead(uint32_t sensor) { break; } if (isnan(temperature) || isnan(humidity)) { - AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid NAN reading")); + AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid reading")); return false; } diff --git a/tasmota/xsns_06_esp32_dht.ino b/tasmota/xsns_06_esp32_dht.ino index b49ea8942..e6c6308a7 100644 --- a/tasmota/xsns_06_esp32_dht.ino +++ b/tasmota/xsns_06_esp32_dht.ino @@ -54,7 +54,7 @@ bool DhtRead(uint32_t sensor) { float humidity = Dht[sensor].dht->readHumidity(false); if (isnan(temperature) || isnan(humidity)) { - AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid NAN reading")); + AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid reading")); return false; }