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 59e023723a4b..fabc54149309 100644 --- a/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts +++ b/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts @@ -27,6 +27,7 @@ import "../../components/ha-dialog"; import "../../components/ha-dialog-header"; import "../../components/ha-icon-button"; import "../../components/ha-list-item"; +import "../../components/ha-markdown"; import "../../components/ha-textfield"; import type { HaTextField } from "../../components/ha-textfield"; import { @@ -215,10 +216,11 @@ export class HaVoiceCommandDialog extends LitElement {
${this._conversation!.map( - // New lines matter for messages - // prettier-ignore (message) => html` -
${message.text}
+
+ + +
` )}
@@ -750,7 +752,6 @@ export class HaVoiceCommandDialog extends LitElement { max-height: 100%; } .message { - white-space: pre-line; font-size: 18px; clear: both; margin: 8px 0;