mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Revert "Add debugging to assist in debugging already configured error (#108134)"
This reverts commit d2feee86b7e7c231c7b1ebac13b03e8bc171fe1a.
This commit is contained in:
parent
916e5de9d1
commit
43f1c0927f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user