mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Update elevenlabs to 1.9.0 (#133264)
This commit is contained in:
parent
8953ac1357
commit
d1e466e615
@ -4,8 +4,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from elevenlabs import Model
|
from elevenlabs import AsyncElevenLabs, Model
|
||||||
from elevenlabs.client import AsyncElevenLabs
|
|
||||||
from elevenlabs.core import ApiError
|
from elevenlabs.core import ApiError
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
|
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||||||
import logging
|
import logging
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from elevenlabs.client import AsyncElevenLabs
|
from elevenlabs import AsyncElevenLabs
|
||||||
from elevenlabs.core import ApiError
|
from elevenlabs.core import ApiError
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
"integration_type": "service",
|
"integration_type": "service",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["elevenlabs"],
|
"loggers": ["elevenlabs"],
|
||||||
"requirements": ["elevenlabs==1.6.1"]
|
"requirements": ["elevenlabs==1.9.0"]
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ import logging
|
|||||||
from types import MappingProxyType
|
from types import MappingProxyType
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from elevenlabs.client import AsyncElevenLabs
|
from elevenlabs import AsyncElevenLabs
|
||||||
from elevenlabs.core import ApiError
|
from elevenlabs.core import ApiError
|
||||||
from elevenlabs.types import Model, Voice as ElevenLabsVoice, VoiceSettings
|
from elevenlabs.types import Model, Voice as ElevenLabsVoice, VoiceSettings
|
||||||
|
|
||||||
|
@ -815,7 +815,7 @@ eheimdigital==1.0.3
|
|||||||
electrickiwi-api==0.8.5
|
electrickiwi-api==0.8.5
|
||||||
|
|
||||||
# homeassistant.components.elevenlabs
|
# homeassistant.components.elevenlabs
|
||||||
elevenlabs==1.6.1
|
elevenlabs==1.9.0
|
||||||
|
|
||||||
# homeassistant.components.elgato
|
# homeassistant.components.elgato
|
||||||
elgato==5.1.2
|
elgato==5.1.2
|
||||||
|
@ -693,7 +693,7 @@ eheimdigital==1.0.3
|
|||||||
electrickiwi-api==0.8.5
|
electrickiwi-api==0.8.5
|
||||||
|
|
||||||
# homeassistant.components.elevenlabs
|
# homeassistant.components.elevenlabs
|
||||||
elevenlabs==1.6.1
|
elevenlabs==1.9.0
|
||||||
|
|
||||||
# homeassistant.components.elgato
|
# homeassistant.components.elgato
|
||||||
elgato==5.1.2
|
elgato==5.1.2
|
||||||
|
@ -31,7 +31,7 @@ def mock_async_client() -> Generator[AsyncMock]:
|
|||||||
client_mock.voices.get_all.return_value = GetVoicesResponse(voices=MOCK_VOICES)
|
client_mock.voices.get_all.return_value = GetVoicesResponse(voices=MOCK_VOICES)
|
||||||
client_mock.models.get_all.return_value = MOCK_MODELS
|
client_mock.models.get_all.return_value = MOCK_MODELS
|
||||||
with patch(
|
with patch(
|
||||||
"elevenlabs.client.AsyncElevenLabs", return_value=client_mock
|
"elevenlabs.AsyncElevenLabs", return_value=client_mock
|
||||||
) as mock_async_client:
|
) as mock_async_client:
|
||||||
yield mock_async_client
|
yield mock_async_client
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user