mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update docs for show/hide name/icon (#8889)
* Update default tap_action * show/hide name/icon
This commit is contained in:
parent
22f5308903
commit
3df9f52770
@ -41,6 +41,16 @@ icon:
|
|||||||
description: Overwrites icon or entity picture.
|
description: Overwrites icon or entity picture.
|
||||||
type: string
|
type: string
|
||||||
default: Entity Domain Icon
|
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:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on tap
|
description: Action to take on tap
|
||||||
@ -50,7 +60,7 @@ tap_action:
|
|||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`more-info`"
|
default: "`toggle`"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
required: false
|
required: false
|
||||||
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user