Use Mapping for async_step_reauth (a-e) (#72763)
* Adjust abode * Adjust airvisual * Adjust aladdin_connect * Adjust ambee * Adjust aussie-broadband * Adjust brunt * Adjust cloudflare * Adjust deconz * Adjust deluge * Adjust devolo_home_control * Adjust efergy * Adjust esphome
This commit is contained in:
parent
1f4add0119
commit
bd29b91867
12 changed files with 29 additions and 20 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Config flow for Cloudflare integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Mapping
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
|
@ -97,7 +98,7 @@ class CloudflareConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
self.zones: list[str] | None = None
|
||||
self.records: list[str] | None = None
|
||||
|
||||
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 Cloudflare."""
|
||||
self.entry = self.hass.config_entries.async_get_entry(self.context["entry_id"])
|
||||
return await self.async_step_reauth_confirm()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue