Make SchemaFlowFormStep functions async (#82962)
* Make validate async in SchemaOptionsFlowHandler * Adjust group * Adjust tests * Move all to async * Adjust integrations * Missed an integration * Missed one * Rebase to fix conflict
This commit is contained in:
parent
490aec0b11
commit
98f263c289
8 changed files with 80 additions and 54 deletions
|
@ -69,7 +69,7 @@ OPTIONS_SCHEMA = vol.Schema(
|
|||
)
|
||||
|
||||
|
||||
def get_options_schema(handler: SchemaCommonFlowHandler) -> vol.Schema:
|
||||
async def get_options_schema(handler: SchemaCommonFlowHandler) -> vol.Schema:
|
||||
"""Get options schema."""
|
||||
options_flow: SchemaOptionsFlowHandler
|
||||
options_flow = cast(SchemaOptionsFlowHandler, handler.parent_handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue