Use Mapping for async_step_reauth (f-o) (#72764)
This commit is contained in:
parent
14f47c7450
commit
756988fe20
10 changed files with 23 additions and 15 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Config flow for laundrify integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Mapping
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
|
@ -76,9 +77,7 @@ class LaundrifyConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
step_id="init", data_schema=CONFIG_SCHEMA, errors=errors
|
||||
)
|
||||
|
||||
async def async_step_reauth(
|
||||
self, user_input: dict[str, Any] | None = None
|
||||
) -> FlowResult:
|
||||
async def async_step_reauth(self, data: Mapping[str, Any]) -> FlowResult:
|
||||
"""Perform reauth upon an API authentication error."""
|
||||
return await self.async_step_reauth_confirm()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue