Skip to content

Commit 5f6b121

Browse files
authored
Remove data flow step_id deprecation note (home-assistant#149714)
1 parent 58dc6a9 commit 5f6b121

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

homeassistant/data_entry_flow.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,7 @@ def async_show_form(
705705
last_step: bool | None = None,
706706
preview: str | None = None,
707707
) -> _FlowResultT:
708-
"""Return the definition of a form to gather user input.
709-
710-
The step_id parameter is deprecated and will be removed in a future release.
711-
"""
708+
"""Return the definition of a form to gather user input."""
712709
flow_result = self._flow_result(
713710
type=FlowResultType.FORM,
714711
flow_id=self.flow_id,
@@ -770,10 +767,7 @@ def async_external_step(
770767
url: str,
771768
description_placeholders: Mapping[str, str] | None = None,
772769
) -> _FlowResultT:
773-
"""Return the definition of an external step for the user to take.
774-
775-
The step_id parameter is deprecated and will be removed in a future release.
776-
"""
770+
"""Return the definition of an external step for the user to take."""
777771
flow_result = self._flow_result(
778772
type=FlowResultType.EXTERNAL_STEP,
779773
flow_id=self.flow_id,
@@ -804,10 +798,7 @@ def async_show_progress(
804798
description_placeholders: Mapping[str, str] | None = None,
805799
progress_task: asyncio.Task[Any] | None = None,
806800
) -> _FlowResultT:
807-
"""Show a progress message to the user, without user input allowed.
808-
809-
The step_id parameter is deprecated and will be removed in a future release.
810-
"""
801+
"""Show a progress message to the user, without user input allowed."""
811802
if progress_task is None and not self.__no_progress_task_reported:
812803
self.__no_progress_task_reported = True
813804
cls = self.__class__
@@ -867,7 +858,6 @@ def async_show_menu(
867858
"""Show a navigation menu to the user.
868859
869860
Options dict maps step_id => i18n label
870-
The step_id parameter is deprecated and will be removed in a future release.
871861
"""
872862
flow_result = self._flow_result(
873863
type=FlowResultType.MENU,

0 commit comments

Comments
 (0)