Rename HelperFlowStep to HelperFlowFormStep (#68583)

This commit is contained in:
Erik Montnemery 2022-03-23 22:43:11 +01:00 committed by GitHub
parent 29a43cef0b
commit c44d7205cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 46 additions and 44 deletions

View file

@ -10,8 +10,8 @@ from homeassistant.const import CONF_ENTITY_ID
from homeassistant.helpers import selector
from homeassistant.helpers.helper_config_entry_flow import (
HelperConfigFlowHandler,
HelperFlowFormStep,
HelperFlowMenuStep,
HelperFlowStep,
)
from .const import DOMAIN
@ -30,12 +30,12 @@ CONFIG_SCHEMA = vol.Schema(
}
).extend(OPTIONS_SCHEMA.schema)
CONFIG_FLOW: dict[str, HelperFlowStep | HelperFlowMenuStep] = {
"user": HelperFlowStep(CONFIG_SCHEMA)
CONFIG_FLOW: dict[str, HelperFlowFormStep | HelperFlowMenuStep] = {
"user": HelperFlowFormStep(CONFIG_SCHEMA)
}
OPTIONS_FLOW: dict[str, HelperFlowStep | HelperFlowMenuStep] = {
"init": HelperFlowStep(OPTIONS_SCHEMA)
OPTIONS_FLOW: dict[str, HelperFlowFormStep | HelperFlowMenuStep] = {
"init": HelperFlowFormStep(OPTIONS_SCHEMA)
}