Allow configuration of min_gradient from UI to be negative in Trend (#107720)

Allow configuration of min_gradient to be negative from UI
This commit is contained in:
Jan-Philipp Benecke 2024-01-10 14:03:02 +01:00 committed by Franck Nijhof
parent 00b899ca3c
commit d89659f196
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -67,7 +67,6 @@ async def get_extended_options_schema(handler: SchemaCommonFlowHandler) -> vol.S
CONF_MIN_GRADIENT, default=DEFAULT_MIN_GRADIENT
): selector.NumberSelector(
selector.NumberSelectorConfig(
min=0,
step="any",
mode=selector.NumberSelectorMode.BOX,
),