-
Notifications
You must be signed in to change notification settings - Fork 193
Add translation_placeholders to v2 quirks #1668
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
base: dev
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
This PR adds support for translation_placeholders
functionality to the v2 quirks system, allowing entities to have dynamic translation values.
- Adds
translation_placeholders
field to entity metadata classes - Updates all entity creation methods to accept the new parameter
- Extends entity modification capabilities to include translation placeholder updates
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #1668 +/- ##
=======================================
Coverage 99.31% 99.31%
=======================================
Files 62 62
Lines 12043 12045 +2
=======================================
+ Hits 11960 11962 +2
Misses 83 83 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
The changes look good. Thanks!
I can solve the conflict in #1652 later.
Any news about this? |
Sorry, I'll be aiming to get this into 2025.11. |
Added as kwarg only to avoid breaking changes (may conflict with #1652)
Needed for zigpy/zha#533