Skip to content

Commit

Permalink
Hide conversation agents that are exposed as agent entities (#116813)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed May 5, 2024
1 parent 59349d2 commit 33e9a6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/conversation/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 33e9a6b

Please sign in to comment.