From d83ab7bb041187fc0392d6bf9e2e815fd6735871 Mon Sep 17 00:00:00 2001 From: tronikos Date: Wed, 29 May 2024 02:59:06 -0700 Subject: [PATCH] Fix issue when you have multiple Google Generative AI config entries and you remove one of them (#118365) --- .../components/google_generative_ai_conversation/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/google_generative_ai_conversation/__init__.py b/homeassistant/components/google_generative_ai_conversation/__init__.py index 8a1197987e1..b2723f82030 100644 --- a/homeassistant/components/google_generative_ai_conversation/__init__.py +++ b/homeassistant/components/google_generative_ai_conversation/__init__.py @@ -129,5 +129,4 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: if not await hass.config_entries.async_unload_platforms(entry, PLATFORMS): return False - genai.configure(api_key=None) return True