mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Merge pull request #5770 from home-assistant/c727-ll-ent-obj
Lovelace: Add entity object options for entities card
This commit is contained in:
commit
993b9f9909
@ -19,7 +19,7 @@ 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
|
||||
title:
|
||||
required: false
|
||||
@ -32,6 +32,25 @@ show_header_toggle:
|
||||
default: true
|
||||
{% 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
|
||||
type:
|
||||
required: false
|
||||
description: "Sets a custom card type: `custom:my-custom-card`"
|
||||
type: string
|
||||
name:
|
||||
required: false
|
||||
description: Overwrites friendly name.
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
## {% linkable_title Example %}
|
||||
|
||||
```yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user