From 5dee7c23b8dd72def31b9db3db9930077d55b010 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sun, 2 Mar 2025 23:36:26 +0100 Subject: [PATCH] docs: add instructions of how to register lovelace resources via yaml (#2236) * docs: add instructions of how to register lovelace resources via yaml * Update docs/frontend/custom-ui/registering-resources.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update registering-resources.md --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- docs/frontend/custom-ui/registering-resources.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/frontend/custom-ui/registering-resources.md b/docs/frontend/custom-ui/registering-resources.md index d81a6166..22a7f712 100644 --- a/docs/frontend/custom-ui/registering-resources.md +++ b/docs/frontend/custom-ui/registering-resources.md @@ -19,3 +19,11 @@ This area is only available when the active user's profile has "advanced mode" e ::: ![Screenshot of the Advanced Mode selector found on the Profile page](/img/en/frontend/frontend-profile-advanced-mode.png) + +Alternatively, you can also register the resource by adding it to the `resources` section of `lovelace` in the configuration: + +```yaml +resources: + - url: /local/.js + type: module +```