From bcdaa593c2882ae08036c759aedd37dc439035d5 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Sat, 9 Mar 2019 10:22:18 -0600 Subject: [PATCH 1/2] Update default tap_action --- source/_lovelace/entity-button.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_lovelace/entity-button.markdown b/source/_lovelace/entity-button.markdown index 78cbcac97883..c070130935f9 100644 --- a/source/_lovelace/entity-button.markdown +++ b/source/_lovelace/entity-button.markdown @@ -50,7 +50,7 @@ tap_action: required: true description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)" type: string - default: "`more-info`" + default: "`toggle`" navigation_path: required: false description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`" From 56943262b6c9097ddc2648f0dc0479130e3fff70 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Sat, 9 Mar 2019 13:51:56 -0600 Subject: [PATCH 2/2] show/hide name/icon --- source/_lovelace/entity-button.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/_lovelace/entity-button.markdown b/source/_lovelace/entity-button.markdown index c070130935f9..1cd473e21ab0 100644 --- a/source/_lovelace/entity-button.markdown +++ b/source/_lovelace/entity-button.markdown @@ -41,6 +41,16 @@ icon: description: Overwrites icon or entity picture. type: string default: Entity Domain Icon +show_name: + required: false + description: Show name. + type: boolean + default: "true" +show_icon: + required: false + description: Show icon. + type: boolean + default: "true" tap_action: required: false description: Action to take on tap