Use standard argument name in async_step_reauth (#74137)

This commit is contained in:
epenet 2022-06-28 17:12:32 +02:00 committed by GitHub
parent 2225d0e899
commit dc039f5218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 35 additions and 38 deletions

View file

@ -31,7 +31,7 @@ class OAuth2FlowHandler(
scopes = ["create"]
return {"scope": " ".join(scopes)}
async def async_step_reauth(self, user_input: Mapping[str, Any]) -> FlowResult:
async def async_step_reauth(self, entry_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"]