Skip to content

Commit

Permalink
Match on correct entity ID of HA conversation agent (#20484)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored Apr 10, 2024
1 parent 7556ab9 commit 9f5bc5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/panels/developer-tools/assist/developer-tools-assist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ class HaPanelDevAssist extends SubscribeMixin(LitElement) {

private async _fetchLanguages() {
const { agents } = await listAgents(this.hass);
const assistAgent = agents.find((agent) => agent.id === "homeassistant");
const assistAgent = agents.find(
(agent) => agent.id === "conversation.home_assistant"
);
this.supportedLanguages =
assistAgent?.supported_languages === "*"
? undefined
Expand Down

0 comments on commit 9f5bc5b

Please sign in to comment.