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
|
@ -2,6 +2,7 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from collections.abc import Mapping
|
||||
from contextlib import suppress
|
||||
import logging
|
||||
from typing import Any
|
||||
|
@ -142,7 +143,7 @@ class HyperionConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
|
||||
async def async_step_reauth(
|
||||
self,
|
||||
config_data: dict[str, Any],
|
||||
config_data: Mapping[str, Any],
|
||||
) -> FlowResult:
|
||||
"""Handle a reauthentication flow."""
|
||||
self._data = dict(config_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue