From bcfc7ea48198cc95782399dee2fd68534ef762d5 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:36:07 +0200 Subject: [PATCH] Cleanup unused import in google config flow (#124711) --- homeassistant/components/google/config_flow.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/homeassistant/components/google/config_flow.py b/homeassistant/components/google/config_flow.py index 726af854f75..98424ef24f5 100644 --- a/homeassistant/components/google/config_flow.py +++ b/homeassistant/components/google/config_flow.py @@ -94,18 +94,6 @@ class OAuth2FlowHandler( "prompt": "consent", } - async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult: - """Import existing auth into a new config entry.""" - if self._async_current_entries(): - return self.async_abort(reason="single_instance_allowed") - implementations = await config_entry_oauth2_flow.async_get_implementations( - self.hass, self.DOMAIN - ) - assert len(implementations) == 1 - self.flow_impl = list(implementations.values())[0] - self.external_data = import_data - return await super().async_step_creation(import_data) - async def async_step_auth( self, user_input: dict[str, Any] | None = None ) -> ConfigFlowResult: