Bump aioesphomeapi to 16.0.1 (#98536)
This commit is contained in:
parent
529bc507a0
commit
3e14e5acba
4 changed files with 7 additions and 5 deletions
|
@ -18,6 +18,7 @@ from aioesphomeapi import (
|
|||
UserServiceArgType,
|
||||
VoiceAssistantEventType,
|
||||
)
|
||||
from aioesphomeapi.model import VoiceAssistantCommandFlag
|
||||
from awesomeversion import AwesomeVersion
|
||||
import voluptuous as vol
|
||||
|
||||
|
@ -319,7 +320,7 @@ class ESPHomeManager:
|
|||
self.voice_assistant_udp_server = None
|
||||
|
||||
async def _handle_pipeline_start(
|
||||
self, conversation_id: str, use_vad: bool
|
||||
self, conversation_id: str, use_vad: int
|
||||
) -> int | None:
|
||||
"""Start a voice assistant pipeline."""
|
||||
if self.voice_assistant_udp_server is not None:
|
||||
|
@ -339,7 +340,8 @@ class ESPHomeManager:
|
|||
voice_assistant_udp_server.run_pipeline(
|
||||
device_id=self.device_id,
|
||||
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",
|
||||
)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"loggers": ["aioesphomeapi", "noiseprotocol"],
|
||||
"requirements": [
|
||||
"async_interrupt==1.1.1",
|
||||
"aioesphomeapi==15.1.15",
|
||||
"aioesphomeapi==16.0.1",
|
||||
"bluetooth-data-tools==1.8.0",
|
||||
"esphome-dashboard-api==1.2.3"
|
||||
],
|
||||
|
|
|
@ -228,7 +228,7 @@ aioecowitt==2023.5.0
|
|||
aioemonitor==1.0.5
|
||||
|
||||
# homeassistant.components.esphome
|
||||
aioesphomeapi==15.1.15
|
||||
aioesphomeapi==16.0.1
|
||||
|
||||
# homeassistant.components.flo
|
||||
aioflo==2021.11.0
|
||||
|
|
|
@ -209,7 +209,7 @@ aioecowitt==2023.5.0
|
|||
aioemonitor==1.0.5
|
||||
|
||||
# homeassistant.components.esphome
|
||||
aioesphomeapi==15.1.15
|
||||
aioesphomeapi==16.0.1
|
||||
|
||||
# homeassistant.components.flo
|
||||
aioflo==2021.11.0
|
||||
|
|
Loading…
Add table
Reference in a new issue