mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Import stt constants from root (#78247)
This commit is contained in:
parent
45a69090f0
commit
9c8e9f044b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user