Skip to content

Commit

Permalink
Revert "Add debugging to assist in debugging already configured error (
Browse files Browse the repository at this point in the history
…#108134)"

This reverts commit d2feee8.
  • Loading branch information
frenck committed Jan 19, 2024
1 parent 916e5de commit 43f1c09
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions homeassistant/components/google/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,6 @@ async def async_oauth_create_entry(self, data: dict) -> FlowResult:
_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,
Expand Down

0 comments on commit 43f1c09

Please sign in to comment.