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:
epenet 2022-05-31 22:44:06 +02:00 committed by GitHub
parent 84779482b8
commit 9cea936c22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 26 additions and 23 deletions

View file

@ -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,