mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 14:45:09 +02:00
Import stt constants from root (#78247)
This commit is contained in:
@@ -5,13 +5,15 @@ from aiohttp import StreamReader
|
||||
from hass_nabucasa import Cloud
|
||||
from hass_nabucasa.voice import VoiceError
|
||||
|
||||
from homeassistant.components.stt import Provider, SpeechMetadata, SpeechResult
|
||||
from homeassistant.components.stt.const import (
|
||||
from homeassistant.components.stt import (
|
||||
AudioBitRates,
|
||||
AudioChannels,
|
||||
AudioCodecs,
|
||||
AudioFormats,
|
||||
AudioSampleRates,
|
||||
Provider,
|
||||
SpeechMetadata,
|
||||
SpeechResult,
|
||||
SpeechResultState,
|
||||
)
|
||||
|
||||
|
@@ -3,13 +3,15 @@ from __future__ import annotations
|
||||
|
||||
from aiohttp import StreamReader
|
||||
|
||||
from homeassistant.components.stt import Provider, SpeechMetadata, SpeechResult
|
||||
from homeassistant.components.stt.const import (
|
||||
from homeassistant.components.stt import (
|
||||
AudioBitRates,
|
||||
AudioChannels,
|
||||
AudioCodecs,
|
||||
AudioFormats,
|
||||
AudioSampleRates,
|
||||
Provider,
|
||||
SpeechMetadata,
|
||||
SpeechResult,
|
||||
SpeechResultState,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
Reference in New Issue
Block a user