Skip to content

Commit

Permalink
update to getConfigEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed May 23, 2023
1 parent eba5246 commit 2f54a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ha-conversation-agent-picker.ts
Expand Up @@ -11,7 +11,7 @@ import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../common/dom/fire_event";
import { stopPropagation } from "../common/dom/stop_propagation";
import { debounce } from "../common/util/debounce";
import { ConfigEntry, updateConfigEntry } from "../data/config_entries";
import { ConfigEntry, getConfigEntry } from "../data/config_entries";
import { Agent, listAgents } from "../data/conversation";
import { fetchIntegrationManifest } from "../data/integration";
import { showOptionsFlowDialog } from "../dialogs/config-flow/show-dialog-options-flow";
Expand Down Expand Up @@ -113,7 +113,7 @@ export class HaConversationAgentPicker extends LitElement {
}
try {
this._configEntry = (
await updateConfigEntry(this.hass, this.value, {})
await getConfigEntry(this.hass, this.value)
).config_entry;
} catch (err) {
this._configEntry = undefined;
Expand Down

0 comments on commit 2f54a95

Please sign in to comment.