Use standard argument name in async_step_reauth (#74139)

This commit is contained in:
epenet
2022-06-28 23:23:32 +02:00
committed by GitHub
parent 48c7e414f6
commit ef5fccad9e
23 changed files with 65 additions and 63 deletions

View File

@@ -150,9 +150,9 @@ class AbodeFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
return await self._async_abode_mfa_login()
async def async_step_reauth(self, config: Mapping[str, Any]) -> FlowResult:
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> FlowResult:
"""Handle reauthorization request from Abode."""
self._username = config[CONF_USERNAME]
self._username = entry_data[CONF_USERNAME]
return await self.async_step_reauth_confirm()