Migrate integrations n-r to generic flowhandler (#111864)
This commit is contained in:
parent
52e7912caf
commit
e0c1feb22c
113 changed files with 890 additions and 746 deletions
|
@ -6,8 +6,7 @@ from typing import Any
|
|||
from vehicle import RDW, RDWError, RDWUnknownLicensePlateError
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.config_entries import ConfigFlow
|
||||
from homeassistant.data_entry_flow import FlowResult
|
||||
from homeassistant.config_entries import ConfigFlow, ConfigFlowResult
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
from .const import CONF_LICENSE_PLATE, DOMAIN
|
||||
|
@ -20,7 +19,7 @@ class RDWFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
|
||||
async def async_step_user(
|
||||
self, user_input: dict[str, Any] | None = None
|
||||
) -> FlowResult:
|
||||
) -> ConfigFlowResult:
|
||||
"""Handle a flow initialized by the user."""
|
||||
errors = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue