From b989aa6315f30e566a1327bce6213def45b68330 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Thu, 21 Jan 2021 20:39:21 +0100 Subject: [PATCH] Entities card: Button row name now optional (#16261) Co-authored-by: Franck Nijhof --- source/_lovelace/entities.markdown | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/_lovelace/entities.markdown b/source/_lovelace/entities.markdown index 9f273dde59c..bae810472ce 100644 --- a/source/_lovelace/entities.markdown +++ b/source/_lovelace/entities.markdown @@ -122,10 +122,15 @@ type: required: true description: button type: string -name: - required: true - description: Main Label. +entity: + required: false + description: "Entity ID. Either `entity` or `name` (or both) needs to be provided." type: string +name: + required: false + description: "Row label. Either `entity` or `name` (or both) needs to be provided." + type: string + default: "Friendly name of `entity` if specified." icon: required: false description: An icon to display to the left of the label.