Skip to content

Commit e642a45

Browse files
committed
fix FlowResult
1 parent be2c7a4 commit e642a45

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

custom_components/rfplayer/config_flow.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
HANDLERS,
1111
ConfigEntry,
1212
ConfigFlow,
13-
ConfigFlowResult,
1413
OptionsFlow,
1514
)
1615
from homeassistant.const import CONF_DEVICE, CONF_DEVICES
1716
from homeassistant.core import callback
18-
from homeassistant.data_entry_flow import AbortFlow
17+
from homeassistant.data_entry_flow import AbortFlow, FlowResult
1918

2019
from .const import (
2120
CONF_AUTOMATIC_ADD,
@@ -33,7 +32,7 @@ class RfplayerConfigFlow(ConfigFlow, domain=DOMAIN):
3332

3433
async def async_step_user(
3534
self, user_input: dict[str, Any] | None = None
36-
) -> ConfigFlowResult:
35+
) -> FlowResult:
3736
"""Config flow started from UI."""
3837
schema_errors: dict[str, Any] = {}
3938

@@ -89,7 +88,7 @@ def __init__(self, config_entry: ConfigEntry) -> None:
8988

9089
async def async_step_init(
9190
self, user_input: dict[str, Any] | None = None
92-
) -> ConfigFlowResult:
91+
) -> FlowResult:
9392
"""Manage the options."""
9493
if user_input is None:
9594
config = self.config_entry.data

0 commit comments

Comments
 (0)