Rename FlowResultDict to FlowResult (#49847)
This commit is contained in:
parent
8be6605be9
commit
183220008d
50 changed files with 229 additions and 269 deletions
|
@ -7,7 +7,7 @@ from rpi_bad_power import new_under_voltage
|
|||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.data_entry_flow import FlowResultDict
|
||||
from homeassistant.data_entry_flow import FlowResult
|
||||
from homeassistant.helpers.config_entry_flow import DiscoveryFlowHandler
|
||||
|
||||
from .const import DOMAIN
|
||||
|
@ -35,7 +35,7 @@ class RPiPowerFlow(DiscoveryFlowHandler, domain=DOMAIN):
|
|||
|
||||
async def async_step_onboarding(
|
||||
self, data: dict[str, Any] | None = None
|
||||
) -> FlowResultDict:
|
||||
) -> FlowResult:
|
||||
"""Handle a flow initialized by onboarding."""
|
||||
has_devices = await self._discovery_function(self.hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue