From a236836796e489f9bfa269a5946c79999db0fac2 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 28 Nov 2022 09:15:16 +0100 Subject: [PATCH] Fix typo in helper docstring (#82824) --- homeassistant/helpers/schema_config_entry_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/helpers/schema_config_entry_flow.py b/homeassistant/helpers/schema_config_entry_flow.py index 86cd578039a..64d3adc5d0c 100644 --- a/homeassistant/helpers/schema_config_entry_flow.py +++ b/homeassistant/helpers/schema_config_entry_flow.py @@ -50,7 +50,7 @@ class SchemaFlowFormStep(SchemaFlowStep): - The `validate_user_input` function is called if the schema validates successfully. - The first argument is a reference to the current `SchemaCommonFlowHandler`. - The second argument is the user input from the current step. - - The `validate_user_input` should raise `SchemaFlowError` is user input is invalid. + - The `validate_user_input` should raise `SchemaFlowError` if user input is invalid. """ next_step: Callable[[dict[str, Any]], str | None] | str | None = None