From f837befae2931650ba118d0191baae6c6944d8c2 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Tue, 14 Jul 2020 16:43:57 -0500 Subject: [PATCH] New button card option: show_state (#14002) --- source/_lovelace/button.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_lovelace/button.markdown b/source/_lovelace/button.markdown index 8d18a84a985..cfb15ad8e7e 100644 --- a/source/_lovelace/button.markdown +++ b/source/_lovelace/button.markdown @@ -45,6 +45,11 @@ show_icon: description: Show icon. type: boolean default: "true" +show_state: + required: false + description: Show state. + type: boolean + default: "false" icon_height: required: false description: Set the height for the icon. This is in pixels which is handled by the configuration UI. (Advanced users can use other CSS values if they like) @@ -89,6 +94,7 @@ Title and Script Service Example: ```yaml type: button name: Turn Off Lights +show_state: false tap_action: action: call-service service: script.turn_on