Remove deprecation warning of step_id in ConfigFlow class (#157925)

This commit is contained in:
milanhin
2025-12-04 13:41:52 +01:00
committed by GitHub
parent f10866395d
commit 6cc645bc6c
+1 -4
View File
@@ -3384,10 +3384,7 @@ class ConfigFlow(ConfigEntryBaseFlow):
last_step: bool | None = None,
preview: str | None = None,
) -> ConfigFlowResult:
"""Return the definition of a form to gather user input.
The step_id parameter is deprecated and will be removed in a future release.
"""
"""Return the definition of a form to gather user input."""
if self.source == SOURCE_REAUTH and "entry_id" in self.context:
# If the integration does not provide a name for the reauth title,
# we append it to the description placeholders.