Skip to content

Commit 3df9f52

Browse files
iantrichfabaff
authored andcommitted
Update docs for show/hide name/icon (home-assistant#8889)
* Update default tap_action * show/hide name/icon
1 parent 22f5308 commit 3df9f52

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

source/_lovelace/entity-button.markdown

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ icon:
4141
description: Overwrites icon or entity picture.
4242
type: string
4343
default: Entity Domain Icon
44+
show_name:
45+
required: false
46+
description: Show name.
47+
type: boolean
48+
default: "true"
49+
show_icon:
50+
required: false
51+
description: Show icon.
52+
type: boolean
53+
default: "true"
4454
tap_action:
4555
required: false
4656
description: Action to take on tap
@@ -50,7 +60,7 @@ tap_action:
5060
required: true
5161
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
5262
type: string
53-
default: "`more-info`"
63+
default: "`toggle`"
5464
navigation_path:
5565
required: false
5666
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"

0 commit comments

Comments
 (0)