-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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 cloud tts entity #108293
Add cloud tts entity #108293
Conversation
Hey there @home-assistant/cloud, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
b6e81ad
to
e4a9f61
Compare
@@ -288,9 +288,11 @@ async def async_startup_repairs(_: datetime) -> None: | |||
loaded = False | |||
stt_platform_loaded = asyncio.Event() | |||
tts_platform_loaded = asyncio.Event() | |||
stt_tts_entities_added = asyncio.Event() | |||
hass.data[DATA_PLATFORMS_SETUP] = { |
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.
This should really be a dataclass instance instead. OK to do in a follow-up if it adds too much noise to this PR.
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.
Yeah, I'll clean it up in the next PR.
@@ -330,6 +332,7 @@ async def _on_initialized() -> None: | |||
|
|||
account_link.async_setup(hass) | |||
|
|||
# Load legacy tts platform for backwards compatibility. |
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.
How long do we need to maintain this compatibility? If it can be removed 2025.2 it makes sense to mention that also in this comment.
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.
We haven't decided if and when we want to deprecate it.
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
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.
LGTM, thanks @MartinHjelmare 👍
* Add cloud tts entity * Test test_login_view_missing_entity * Fix pipeline iteration for migration * Update tests * Make migration more strict * Fix docstring
Breaking change
Proposed change
TODO:
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
..coveragerc
.To help with the load of incoming pull requests: