-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Number selector UoM translation key #39848
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
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThe documentation for the "number" selector in the blueprint selectors markdown file was updated to introduce an optional Changes
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
source/_docs/blueprint/selectors.markdown (1)
1143-1151
: Tighten wording & strip trailing whitespaceSmall style issues:
- The sentence is wordy and lacks a comma after the back-ticked key.
- Line 1151 contains trailing spaces (MD009).
-translation_key: - description: > - Allows translations provided by an integration where `translation_key` - is the translation key that is providing the unit_of_measurement string - translation. See the documentation on +translation_key: + description: > + Allows integrations to provide a translation for the + `unit_of_measurement` string via `translation_key`. See + the documentation on [Backend Localization](https://developers.home-assistant.io/docs/internationalization/core/#selectors) - for more information. + for more information. type: string - required: false + required: false
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
source/_docs/blueprint/selectors.markdown
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_docs/blueprint/selectors.markdown
[uncategorized] ~1145-~1145: Possible missing comma found.
Context: ... Allows translations provided by an integration where translation_key
is the tran...
(AI_HYDRA_LEO_MISSING_COMMA)
🪛 markdownlint-cli2 (0.17.2)
source/_docs/blueprint/selectors.markdown
1151-1151: Trailing spaces
Expected: 0 or 2; Actual: 4
(MD009, no-trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Redirect rules - home-assistant-docs
- GitHub Check: Header rules - home-assistant-docs
- GitHub Check: Pages changed - home-assistant-docs
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.
Thank you, @karwosts 👍
Proposed change
home-assistant/core#148162
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
translation_key
configuration, allowing integrations to provide translated unit labels.