From 43f1c0927fcd169472a51e285ba8335eb28f62a0 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 19 Jan 2024 19:26:37 +0100 Subject: [PATCH] Revert "Add debugging to assist in debugging already configured error (#108134)" This reverts commit d2feee86b7e7c231c7b1ebac13b03e8bc171fe1a. --- homeassistant/components/google/config_flow.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/homeassistant/components/google/config_flow.py b/homeassistant/components/google/config_flow.py index ed6d36d8ec7..33d913fe8f1 100644 --- a/homeassistant/components/google/config_flow.py +++ b/homeassistant/components/google/config_flow.py @@ -210,12 +210,6 @@ class OAuth2FlowHandler( _LOGGER.error("Error reading primary calendar: %s", err) return self.async_abort(reason="cannot_connect") await self.async_set_unique_id(primary_calendar.id) - - if found := self.hass.config_entries.async_entry_for_domain_unique_id( - self.handler, primary_calendar.id - ): - _LOGGER.debug("Found existing '%s' entry: %s", primary_calendar.id, found) - self._abort_if_unique_id_configured() return self.async_create_entry( title=primary_calendar.id,