Buttons row and name option addition (#12544)

This commit is contained in:
Ian Richardson 2020-03-30 07:21:36 -05:00 committed by GitHub
parent 27f9ae5556
commit b55b6a418e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -264,6 +264,36 @@ icon:
default: "`mdi:link`"
{% endconfiguration %}
### Buttons
{% configuration %}
type:
required: true
description: buttons
type: string
entities:
required: true
description: A list of entities to show. Each entry is either an entity ID or a map.
type: list
keys:
entity:
required: true
description: The entity to render.
type: string
icon:
required: false
description: Override the entity icon.
type: string
image:
required: false
description: Override the entity image.
type: string
name:
required: false
description: Label for the button
type: string
{% endconfiguration %}
## Example
Entity rows:

View File

@ -75,6 +75,10 @@ entities:
required: false
description: Override the entity image.
type: string
name:
required: false
description: Label for the button
type: string
{% endconfiguration %}
## Graph header & footer