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
|
@ -19,7 +19,7 @@ from homeassistant.helpers.schema_config_entry_flow import (
|
|||
from .const import CONF_HYSTERESIS, CONF_LOWER, CONF_UPPER, DEFAULT_HYSTERESIS, DOMAIN
|
||||
|
||||
|
||||
def _validate_mode(
|
||||
async def _validate_mode(
|
||||
handler: SchemaCommonFlowHandler, user_input: dict[str, Any]
|
||||
) -> dict[str, Any]:
|
||||
"""Validate the threshold mode, and set limits to None if not set."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue