-
-
Notifications
You must be signed in to change notification settings - Fork 963
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
docs: add instructions of how to register lovelace resources via yaml #2236
base: master
Are you sure you want to change the base?
Conversation
WalkthroughWalkthroughThe change introduces an alternative method for registering resources in the Changes
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional context usedLanguageTool
Additional comments not posted (1)
Tip Early access features: enabledWe are currently testing the following features in early access:
Note:
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 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 as PR comments)
Additionally, you can add CodeRabbit Configration 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: 2
Outside diff range comments (2)
docs/frontend/custom-ui/registering-resources.md (2)
Line range hint
5-5
: Add a comma for correct punctuation.A comma is missing after "strategies or views".
- If you want to extend the Home Assistant interface with custom cards, strategies or views you need to load external resources. + If you want to extend the Home Assistant interface with custom cards, strategies, or views, you need to load external resources.Tools
LanguageTool
[misspelling] ~23-~23: Did you actually mean the archaic form of ‘you’, or did you maybe mean “the”?
Context: ...) Alternatively, you can also register thee resource by adding it to the `resources...(THEE)
[misspelling] ~23-~23: Possible spelling mistake found.
Context: ...adding it to theresources
section oflovelace
in the configuration: ```yaml resource...(MORFOLOGIK_RULE_EN_US)
Markdownlint
24-24: null
Fenced code blocks should be surrounded by blank lines(MD031, blanks-around-fences)
Line range hint
7-7
: Fix the typo in "Hom".The word "Hom" should be "Home".
- Create this directory and restart Hom Assistant. + Create this directory and restart Home Assistant.Tools
LanguageTool
[misspelling] ~23-~23: Did you actually mean the archaic form of ‘you’, or did you maybe mean “the”?
Context: ...) Alternatively, you can also register thee resource by adding it to the `resources...(THEE)
[misspelling] ~23-~23: Possible spelling mistake found.
Context: ...adding it to theresources
section oflovelace
in the configuration: ```yaml resource...(MORFOLOGIK_RULE_EN_US)
Markdownlint
24-24: null
Fenced code blocks should be surrounded by blank lines(MD031, blanks-around-fences)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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: 3
Outside diff range comments (1)
docs/frontend/custom-ui/registering-resources.md (1)
Line range hint
11-11
: Add the missing article "the".The sentence is missing the article "the" before "below link".
- This is done by navigating to the Resources page by following below link: + This is done by navigating to the Resources page by following the below link:Tools
LanguageTool
[misspelling] ~23-~23: Possible spelling mistake found.
Context: ...adding it to theresources
section oflovelace
in the configuration: ```yaml resource...(MORFOLOGIK_RULE_EN_US)
Markdownlint
24-24: null
Fenced code blocks should be surrounded by blank lines(MD031, blanks-around-fences)
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: 1
Hi 👋 |
To be honest, I don't have much experience with resources in HA. While installing one dashboard plugin, I came across the instruction to "register the resource" and had to consult a few resources to finally figure it out. Thus this PR. Happy to move it to a more appropriate page. |
Proposed change
Add instructions of how to register lovelace resources via yaml
Type of change
Additional information
Summary by CodeRabbit
lovelace
configuration file with a provided YAML snippet.