mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 18:18:21 +00:00
Hide conversation agents that are exposed as agent entities (#116813)
This commit is contained in:
parent
ae28c604e5
commit
ad5e0949b6
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user