Voice assistant dev: fix wake word continue (#18181)

Start wake word when continue when wake word was used the previous run
This commit is contained in:
Bram Kragten 2023-10-12 16:10:14 +02:00 committed by GitHub
parent 2c743b7b56
commit 6d1e923b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,11 +119,15 @@ export class AssistPipelineRunDebug extends LitElement {
</ha-button> </ha-button>
` `
: this._finished : this._finished
? html` ? this._pipelineRuns[0].init_options!.start_stage === "wake_word"
<ha-button @click=${this._runAudioPipeline}> ? html`
<ha-button @click=${this._runAudioWakeWordPipeline}>
Continue listening for wake word
</ha-button>
`
: html`<ha-button @click=${this._runAudioPipeline}>
Continue talking Continue talking
</ha-button> </ha-button>`
`
: html` : html`
<ha-formfield label="Continue conversation"> <ha-formfield label="Continue conversation">
<ha-checkbox <ha-checkbox