-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Lovelace: correct glance config #5758
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,22 +24,27 @@ type: | |
| type: string | ||
| entities: | ||
| required: true | ||
| description: "A list of entity IDs or an `entity` object." | ||
| description: "A list of entity IDs or `entity` objects, see below." | ||
| type: list | ||
| keys: | ||
| entity: | ||
| required: true | ||
| description: "The `entity_id` to show." | ||
| type: string | ||
| name: | ||
| required: true | ||
| description: "A name for `the entity_id`." | ||
| type: string | ||
| title: | ||
| required: false | ||
| description: Card title | ||
| type: string | ||
| default: none | ||
| {% endconfiguration %} | ||
|
|
||
| ## {% linkable_title Options For Entities %} | ||
|
|
||
| If you define entities as objects instead of strings, you can add more customization and configuration: | ||
|
|
||
| {% configuration %} | ||
| entity: | ||
| required: true | ||
| description: Home Assistant entity ID. | ||
| type: string | ||
| name: | ||
| required: false | ||
| description: Overwrites friendly name. | ||
| type: string | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the entities card docs it says that
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it's different |
||
| {% endconfiguration %} | ||
|
|
||
| ## {% linkable_title Examples %} | ||
|
|
||
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.
According to sample below those are valid keys. From my point of view those needs to be documented.
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 keys there are optional. Yep, I will add a new setion for this