mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Add required hyphen in lovelace dashboard url path. (#12420)
This commit is contained in:
parent
841e06cc9f
commit
bfa4c3e55a
@ -27,6 +27,8 @@ To revert back to using the UI to edit your Lovelace interface, remove the `love
|
|||||||
|
|
||||||
You can define multiple dashboards that all have their own YAML file, and add custom resources that are shared by all dashboards.
|
You can define multiple dashboards that all have their own YAML file, and add custom resources that are shared by all dashboards.
|
||||||
|
|
||||||
|
The key of the dashboard is used as the URL, this needs to contain a hyphen (`-`).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
lovelace:
|
lovelace:
|
||||||
mode: yaml
|
mode: yaml
|
||||||
@ -38,14 +40,14 @@ lovelace:
|
|||||||
type: css
|
type: css
|
||||||
# Add more dashboards
|
# Add more dashboards
|
||||||
dashboards:
|
dashboards:
|
||||||
generated:
|
lovelace-generated: # Needs to contain a hyphen (-)
|
||||||
mode: yaml
|
mode: yaml
|
||||||
filename: notexist.yaml
|
filename: notexist.yaml
|
||||||
title: Generated
|
title: Generated
|
||||||
icon: mdi:tools
|
icon: mdi:tools
|
||||||
show_in_sidebar: true
|
show_in_sidebar: true
|
||||||
require_admin: true
|
require_admin: true
|
||||||
hidden:
|
lovelace-hidden:
|
||||||
mode: yaml
|
mode: yaml
|
||||||
title: hidden
|
title: hidden
|
||||||
show_in_sidebar: false
|
show_in_sidebar: false
|
||||||
@ -86,7 +88,7 @@ resources:
|
|||||||
type: string
|
type: string
|
||||||
dashboards:
|
dashboards:
|
||||||
required: false
|
required: false
|
||||||
description: Additional Lovelace YAML dashboards.
|
description: Additional Lovelace YAML dashboards. The key is used for the URL and should contain a hyphen (`-`)
|
||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
mode:
|
mode:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user