mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-27 12:55:32 +01:00
Add VoiceAssistant Request Flag enum
This commit is contained in:
parent
5d05189e1b
commit
9673d035ad
@ -1438,6 +1438,12 @@ message SubscribeVoiceAssistantRequest {
|
|||||||
bool subscribe = 1;
|
bool subscribe = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum VoiceAssistantRequestFlag {
|
||||||
|
VOICE_ASSISTANT_REQUEST_NONE = 0;
|
||||||
|
VOICE_ASSISTANT_REQUEST_USE_VAD = 1;
|
||||||
|
VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD = 2;
|
||||||
|
}
|
||||||
|
|
||||||
message VoiceAssistantRequest {
|
message VoiceAssistantRequest {
|
||||||
option (id) = 90;
|
option (id) = 90;
|
||||||
option (source) = SOURCE_SERVER;
|
option (source) = SOURCE_SERVER;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1064,6 +1064,7 @@ class BluetoothDeviceRequestType(APIIntEnum):
|
|||||||
|
|
||||||
|
|
||||||
class VoiceAssistantCommandFlag(enum.IntFlag):
|
class VoiceAssistantCommandFlag(enum.IntFlag):
|
||||||
|
NONE = 0
|
||||||
USE_VAD = 1 << 0
|
USE_VAD = 1 << 0
|
||||||
USE_WAKE_WORD = 1 << 1
|
USE_WAKE_WORD = 1 << 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user