Use Mapping for async_step_reauth (t-z) (#72767)
* Adjust tailscale * Adjust tautulli * Adjust tile * Adjust tractive * Adjust trafikverket_ferry * Adjust trafikverket_train * Adjust unifiprotect * Adjust uptimerobot * Adjust verisure * Adjust vlc_telnet * Adjust wallbox * Adjust watttime * Adjust yale_smart_alarm
This commit is contained in:
parent
84779482b8
commit
9cea936c22
13 changed files with 26 additions and 23 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Config flow for Wallbox integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Mapping
|
||||
from typing import Any
|
||||
|
||||
import voluptuous as vol
|
||||
|
@ -47,9 +48,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=COMPONENT_DOMAIN):
|
|||
"""Start the Wallbox config flow."""
|
||||
self._reauth_entry: config_entries.ConfigEntry | None = None
|
||||
|
||||
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."""
|
||||
self._reauth_entry = self.hass.config_entries.async_get_entry(
|
||||
self.context["entry_id"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue