-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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 announce service to Assist Satellite #124927
Conversation
Hey there @synesthesiam, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
356af7c
to
eedee04
Compare
eedee04
to
99a4942
Compare
pipeline_id = self._resolve_pipeline() | ||
pipeline = async_get_pipeline(self.hass, pipeline_id) | ||
|
||
tts_options: dict[str, Any] = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note for future us: we will need to put the correct format here once we have a supported media format coming from the satellite. Otherwise it will always be MP3.
@@ -54,6 +61,67 @@ def vad_sensitivity_entity_id(self) -> str | None: | |||
"""Entity ID of the VAD sensitivity to use for the next conversation.""" | |||
return self._attr_vad_sensitivity_entity_id | |||
|
|||
async def async_internal_announce( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check the supported features here and raise an exception?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. That is done by the service call handler. The service is registered in __init__.py
with the correct feature flag.
Breaking change
Proposed change
add announce service to Assist Satellite.
Extracted from #124886
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: