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 to configure the Tailscale integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Mapping
|
||||
from typing import Any
|
||||
|
||||
from tailscale import Tailscale, TailscaleAuthenticationError, TailscaleError
|
||||
|
@ -81,7 +82,7 @@ class TailscaleFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
errors=errors,
|
||||
)
|
||||
|
||||
async def async_step_reauth(self, data: dict[str, Any]) -> FlowResult:
|
||||
async def async_step_reauth(self, data: Mapping[str, Any]) -> FlowResult:
|
||||
"""Handle initiation of re-authentication with Tailscale."""
|
||||
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