From 33e9a6bd586bb3a4b8c55bb1be7c9e694eaa8686 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 4 May 2024 20:09:38 -0400 Subject: [PATCH] Hide conversation agents that are exposed as agent entities (#116813) --- homeassistant/components/conversation/http.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/conversation/http.py b/homeassistant/components/conversation/http.py index beda7ba1550..e582dacf284 100644 --- a/homeassistant/components/conversation/http.py +++ b/homeassistant/components/conversation/http.py @@ -142,6 +142,9 @@ async def websocket_list_agents( agent = manager.async_get_agent(agent_info.id) assert agent is not None + if isinstance(agent, ConversationEntity): + continue + supported_languages = agent.supported_languages if language and supported_languages != MATCH_ALL: supported_languages = language_util.matches(