mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Bump aioesphomeapi to 16.0.1 (#98536)
This commit is contained in:
parent
529bc507a0
commit
3e14e5acba
@ -18,6 +18,7 @@ from aioesphomeapi import (
|
|||||||
UserServiceArgType,
|
UserServiceArgType,
|
||||||
VoiceAssistantEventType,
|
VoiceAssistantEventType,
|
||||||
)
|
)
|
||||||
|
from aioesphomeapi.model import VoiceAssistantCommandFlag
|
||||||
from awesomeversion import AwesomeVersion
|
from awesomeversion import AwesomeVersion
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
@ -319,7 +320,7 @@ class ESPHomeManager:
|
|||||||
self.voice_assistant_udp_server = None
|
self.voice_assistant_udp_server = None
|
||||||
|
|
||||||
async def _handle_pipeline_start(
|
async def _handle_pipeline_start(
|
||||||
self, conversation_id: str, use_vad: bool
|
self, conversation_id: str, use_vad: int
|
||||||
) -> int | None:
|
) -> int | None:
|
||||||
"""Start a voice assistant pipeline."""
|
"""Start a voice assistant pipeline."""
|
||||||
if self.voice_assistant_udp_server is not None:
|
if self.voice_assistant_udp_server is not None:
|
||||||
@ -339,7 +340,8 @@ class ESPHomeManager:
|
|||||||
voice_assistant_udp_server.run_pipeline(
|
voice_assistant_udp_server.run_pipeline(
|
||||||
device_id=self.device_id,
|
device_id=self.device_id,
|
||||||
conversation_id=conversation_id or None,
|
conversation_id=conversation_id or None,
|
||||||
use_vad=use_vad,
|
use_vad=VoiceAssistantCommandFlag(use_vad)
|
||||||
|
== VoiceAssistantCommandFlag.USE_VAD,
|
||||||
),
|
),
|
||||||
"esphome.voice_assistant_udp_server.run_pipeline",
|
"esphome.voice_assistant_udp_server.run_pipeline",
|
||||||
)
|
)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"loggers": ["aioesphomeapi", "noiseprotocol"],
|
"loggers": ["aioesphomeapi", "noiseprotocol"],
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"async_interrupt==1.1.1",
|
"async_interrupt==1.1.1",
|
||||||
"aioesphomeapi==15.1.15",
|
"aioesphomeapi==16.0.1",
|
||||||
"bluetooth-data-tools==1.8.0",
|
"bluetooth-data-tools==1.8.0",
|
||||||
"esphome-dashboard-api==1.2.3"
|
"esphome-dashboard-api==1.2.3"
|
||||||
],
|
],
|
||||||
|
@ -228,7 +228,7 @@ aioecowitt==2023.5.0
|
|||||||
aioemonitor==1.0.5
|
aioemonitor==1.0.5
|
||||||
|
|
||||||
# homeassistant.components.esphome
|
# homeassistant.components.esphome
|
||||||
aioesphomeapi==15.1.15
|
aioesphomeapi==16.0.1
|
||||||
|
|
||||||
# homeassistant.components.flo
|
# homeassistant.components.flo
|
||||||
aioflo==2021.11.0
|
aioflo==2021.11.0
|
||||||
|
@ -209,7 +209,7 @@ aioecowitt==2023.5.0
|
|||||||
aioemonitor==1.0.5
|
aioemonitor==1.0.5
|
||||||
|
|
||||||
# homeassistant.components.esphome
|
# homeassistant.components.esphome
|
||||||
aioesphomeapi==15.1.15
|
aioesphomeapi==16.0.1
|
||||||
|
|
||||||
# homeassistant.components.flo
|
# homeassistant.components.flo
|
||||||
aioflo==2021.11.0
|
aioflo==2021.11.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user