core/homeassistant/components/tts/models.py

12 lines
164 B
Python

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