mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Rename HelperFlowStep to HelperFlowFormStep (#68583)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user