diff --git a/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts b/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts index 1bfa890e9556..cdd2c02ae546 100644 --- a/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts +++ b/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts @@ -142,7 +142,7 @@ export class HaVoiceCommandDialog extends LitElement { ${this.hass.user?.is_admin ? html`
  • ${this.hass.localize( "ui.dialogs.voice_command.manage_assistants" )} { + callback?.(); + }); + this._userId = undefined; + } + this._params = undefined; + fireEvent(this, "dialog-closed", { dialog: this.localName }); + } + protected render() { if (!this._params) { return nothing; @@ -109,7 +125,7 @@ class DialogPersonDetail extends LitElement { return html` ${this._renderUserFields()} - ${this._deviceTrackersAvailable(this.hass) + ${!this._deviceTrackersAvailable(this.hass) ? html`

    ${this.hass.localize( @@ -205,10 +221,7 @@ class DialogPersonDetail extends LitElement { >

  • - + ${this.hass!.localize( "ui.panel.config.person.detail.link_integrations_page" )} + ${this.hass.localize( "ui.panel.config.voice_assistants.assistants.pipeline.detail.no_cloud_action"