Use _get_reauth_entry in azure_devops config flow (#127321)

This commit is contained in:
epenet 2024-10-02 16:03:18 +02:00 committed by GitHub
parent acd3710469
commit f0df25f824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,10 +113,8 @@ class AzureDevOpsFlowHandler(ConfigFlow, domain=DOMAIN):
if errors is not None:
return await self._show_reauth_form(errors)
entry = await self.async_set_unique_id(self.unique_id)
assert entry
self.hass.config_entries.async_update_entry(
entry,
self._get_reauth_entry(),
data={
CONF_ORG: self._organization,
CONF_PROJECT: self._project,