mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Allow step size any for number selector in slider mode (#105978)
This commit is contained in:
@@ -951,9 +951,6 @@ def validate_slider(data: Any) -> Any:
|
||||
if "min" not in data or "max" not in data:
|
||||
raise vol.Invalid("min and max are required in slider mode")
|
||||
|
||||
if "step" in data and data["step"] == "any":
|
||||
raise vol.Invalid("step 'any' is not allowed in slider mode")
|
||||
|
||||
return data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user