mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Fix issue when you have multiple Google Generative AI config entries and you remove one of them (#118365)
This commit is contained in:
parent
aa957600ce
commit
d83ab7bb04
@ -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):
|
if not await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
genai.configure(api_key=None)
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user