-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add preannounce media url and start conversation to voice assistant announce message #1099
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (1)
You can disable this status message by setting the WalkthroughThis pull request adds two new fields to the Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant A as APIClient
participant S as Server
C->>A: send_voice_assistant_announcement_await_response(media_id, text, preannounce_media_id, start_conversation)
A->>A: Create VoiceAssistantAnnounceRequest (with new fields)
A->>S: Send announcement request
S-->>A: Return VoiceAssistantAnnounceFinishedModel
A-->>C: Return response
Possibly related PRs
Suggested labels
Suggested reviewers
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1099 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 17 17
Lines 2733 2734 +1
=========================================
+ Hits 2733 2734 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #1099 will not alter performanceComparing Summary
|
Modifies the voice assistant announce message:
preannounce_media_id
string, intended for a notification beep, to be played before the actual announce message.start_conversation
boolean, to indicate whether the voice assistant should start a new pipeline immediately after the announce message is finished.Additionally, it adds a new voice assistant feature flag
START_CONVERSATION
to indicate that it is supported.Implemented in esphome/home-assistant-voice-pe#347