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 Verisure integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Mapping
|
||||
from typing import Any, cast
|
||||
|
||||
from verisure import (
|
||||
|
@ -108,7 +109,7 @@ class VerisureConfigFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
},
|
||||
)
|
||||
|
||||
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 Verisure."""
|
||||
self.entry = cast(
|
||||
ConfigEntry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue