Allow negative calibration factor in mold_indicator (#127133)

This commit is contained in:
G Johansson
2024-09-30 20:51:34 +02:00
committed by Franck Nijhof
parent abd351e326
commit 1ce2b18aaf
@@ -44,7 +44,7 @@ async def validate_duplicate(
DATA_SCHEMA_OPTIONS = vol.Schema(
{
vol.Required(CONF_CALIBRATION_FACTOR): NumberSelector(
NumberSelectorConfig(min=0, step="any", mode=NumberSelectorMode.BOX)
NumberSelectorConfig(step=0.1, mode=NumberSelectorMode.BOX)
)
}
)