Rename HelperFlowStep to HelperFlowFormStep (#68583)
This commit is contained in:
parent
29a43cef0b
commit
c44d7205cf
7 changed files with 46 additions and 44 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue