1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
ha-core/homeassistant/components/tts/models.py
Erik Montnemery 9a0de43f98
Add name to tts voices (#91814)
* Add name to tts voices

* Add new file
2023-04-21 20:41:14 -04:00

11 lines
163 B
Python

"""Text-to-speech data models."""
from dataclasses import dataclass
@dataclass(frozen=True)
class Voice:
"""A TTS voice."""
voice_id: str
name: str