Adjust config-flow type hints in dynalite (#72476)
This commit is contained in:
parent
bf75cb3cc5
commit
53fb581bff
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ from typing import Any
|
|||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import CONF_HOST
|
||||
from homeassistant.data_entry_flow import FlowResult
|
||||
|
||||
from .bridge import DynaliteBridge
|
||||
from .const import DOMAIN, LOGGER
|
||||
|
@ -20,7 +21,7 @@ class DynaliteFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
"""Initialize the Dynalite flow."""
|
||||
self.host = None
|
||||
|
||||
async def async_step_import(self, import_info: dict[str, Any]) -> Any:
|
||||
async def async_step_import(self, import_info: dict[str, Any]) -> FlowResult:
|
||||
"""Import a new bridge as a config entry."""
|
||||
LOGGER.debug("Starting async_step_import - %s", import_info)
|
||||
host = import_info[CONF_HOST]
|
||||
|
|
Loading…
Add table
Reference in a new issue