Import stt constants from root (#78247)

This commit is contained in:
epenet 2022-09-12 18:12:06 +02:00 committed by GitHub
parent 45a69090f0
commit 9c8e9f044b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -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