From 1b739f9555706abf108085dbbb97e2966bcc7e29 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 13 Jan 2020 14:29:19 +0100 Subject: [PATCH] Removes unneeded abort if unique id in Oauth2 discovery flow (#30733) --- homeassistant/helpers/config_entry_oauth2_flow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/helpers/config_entry_oauth2_flow.py b/homeassistant/helpers/config_entry_oauth2_flow.py index d29dae735f8..9baed41dd20 100644 --- a/homeassistant/helpers/config_entry_oauth2_flow.py +++ b/homeassistant/helpers/config_entry_oauth2_flow.py @@ -262,7 +262,6 @@ class AbstractOAuth2FlowHandler(config_entries.ConfigFlow, metaclass=ABCMeta): async def async_step_discovery(self, user_input: dict = None) -> dict: """Handle a flow initialized by discovery.""" await self.async_set_unique_id(self.DOMAIN) - self._abort_if_unique_id_configured() assert self.hass is not None if self.hass.config_entries.async_entries(self.DOMAIN):