mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Allow negative calibration factor in mold_indicator (#127133)
This commit is contained in:
parent
053ff33ef9
commit
05288dad51
@ -49,7 +49,7 @@ async def validate_duplicate(
|
|||||||
DATA_SCHEMA_OPTIONS = vol.Schema(
|
DATA_SCHEMA_OPTIONS = vol.Schema(
|
||||||
{
|
{
|
||||||
vol.Required(CONF_CALIBRATION_FACTOR): NumberSelector(
|
vol.Required(CONF_CALIBRATION_FACTOR): NumberSelector(
|
||||||
NumberSelectorConfig(min=0, step="any", mode=NumberSelectorMode.BOX)
|
NumberSelectorConfig(step=0.1, mode=NumberSelectorMode.BOX)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user