Improve piper audio generation (#23281)

* Improve piper audio generation

* update logic

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Paulus Schoutsen 2024-12-12 11:41:11 -05:00 committed by GitHub
parent d2ec24f32a
commit 47cf17ab50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,10 +57,10 @@ export class HaVoiceAssistantSetupStepPipeline extends LitElement {
}, 600); }, 600);
setTimeout(() => { setTimeout(() => {
this._showThird = true; this._showThird = true;
}, 3000); }, 2000);
setTimeout(() => { setTimeout(() => {
this._showFourth = true; this._showFourth = true;
}, 8000); }, 3000);
} }
protected override render() { protected override render() {
@ -123,7 +123,7 @@ export class HaVoiceAssistantSetupStepPipeline extends LitElement {
</div> </div>
${this._showThird ${this._showThird
? html`<div class="timing user"> ? html`<div class="timing user">
3 2
${this.hass.localize( ${this.hass.localize(
"ui.panel.config.voice_assistants.satellite_wizard.pipeline.seconds" "ui.panel.config.voice_assistants.satellite_wizard.pipeline.seconds"
)} )}
@ -136,7 +136,7 @@ export class HaVoiceAssistantSetupStepPipeline extends LitElement {
: nothing} : nothing}
${this._showFourth ${this._showFourth
? html`<div class="timing hass"> ? html`<div class="timing hass">
5 1
${this.hass.localize( ${this.hass.localize(
"ui.panel.config.voice_assistants.satellite_wizard.pipeline.seconds" "ui.panel.config.voice_assistants.satellite_wizard.pipeline.seconds"
)} )}