Send/receive Voice Assistant audio via ESPHome native API (#114800)
* Protobuf audio test * Remove extraneous code * Rework voice assistant pipeline * Move variables * Fix reading flags * Dont directly put to queue * Bump aioesphomeapi to 24.0.0 * Update tests - Add more tests for API pipeline - Convert some udp tests to use api pipeline - Update fixtures for new device info flags * Fix bad merge --------- Co-authored-by: Michael Hansen <mike@rhasspy.org>
This commit is contained in:
parent
cad4c3c0c2
commit
68384bba67
11 changed files with 495 additions and 230 deletions
|
@ -257,7 +257,9 @@ class RuntimeEntryData:
|
|||
if async_get_dashboard(hass):
|
||||
needed_platforms.add(Platform.UPDATE)
|
||||
|
||||
if self.device_info and self.device_info.voice_assistant_version:
|
||||
if self.device_info and self.device_info.voice_assistant_feature_flags_compat(
|
||||
self.api_version
|
||||
):
|
||||
needed_platforms.add(Platform.BINARY_SENSOR)
|
||||
needed_platforms.add(Platform.SELECT)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue