Fix TTS services name (#46988)

This commit is contained in:
Bram Kragten
2021-02-24 13:43:24 +01:00
committed by GitHub
parent 17f4c9dd06
commit b0d56970a5

View File

@@ -209,7 +209,7 @@ async def async_setup(hass, config):
# Register the service description
service_desc = {
CONF_NAME: "Say an TTS message with {p_type}",
CONF_NAME: f"Say an TTS message with {p_type}",
CONF_DESCRIPTION: f"Say something using text-to-speech on a media player with {p_type}.",
CONF_FIELDS: services_dict[SERVICE_SAY][CONF_FIELDS],
}