diff --git a/src/utils.h b/src/utils.h index 7e2e46a..4a108da 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1791,7 +1791,7 @@ bool jsonToSensorSettings(const uint8_t sensorId, const JsonVariantConst src, Se if (!src[FPSTR(S_FACTOR)].isNull()) { float value = src[FPSTR(S_FACTOR)].as(); - if (value > 0.09f && value <= 10.0f && fabsf(value - dst.factor) > 0.0001f) { + if (value > 0.09f && value <= 100.0f && fabsf(value - dst.factor) > 0.0001f) { dst.factor = roundf(value, 3); changed = true; } diff --git a/src_data/pages/sensors.html b/src_data/pages/sensors.html index d81adeb..90c78a2 100644 --- a/src_data/pages/sensors.html +++ b/src_data/pages/sensors.html @@ -140,7 +140,7 @@