From b55b6a418ed0ce5a449cf9c03f693c62902ab234 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Mon, 30 Mar 2020 07:21:36 -0500 Subject: [PATCH] Buttons row and name option addition (#12544) --- source/_lovelace/entities.markdown | 30 ++++++++++++++++++++++++++ source/lovelace/header-footer.markdown | 4 ++++ 2 files changed, 34 insertions(+) diff --git a/source/_lovelace/entities.markdown b/source/_lovelace/entities.markdown index d36977174c6..59a2282da5f 100644 --- a/source/_lovelace/entities.markdown +++ b/source/_lovelace/entities.markdown @@ -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: diff --git a/source/lovelace/header-footer.markdown b/source/lovelace/header-footer.markdown index 899cfc4dbca..e0dcd885f3a 100644 --- a/source/lovelace/header-footer.markdown +++ b/source/lovelace/header-footer.markdown @@ -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