Use configured voice in TTS output for assist pipeline (#91878)

This commit is contained in:
Paulus Schoutsen 2023-04-22 22:01:32 -04:00 committed by GitHub
parent 33808cd268
commit 1eef4af493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 11 deletions

View file

@ -6,6 +6,7 @@ import voluptuous as vol
from homeassistant.components.tts import (
ATTR_AUDIO_OUTPUT,
ATTR_VOICE,
CONF_LANG,
PLATFORM_SCHEMA,
Provider,
@ -16,7 +17,6 @@ from homeassistant.core import callback
from .const import DOMAIN
ATTR_GENDER = "gender"
ATTR_VOICE = "voice"
SUPPORT_LANGUAGES = list(TTS_VOICES)