Cleanup wording for action config (#22896)

This commit is contained in:
Philip Allgaier 2022-05-30 12:58:24 +02:00 committed by GitHub
parent bc5ad263d3
commit 29b8de6042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 38 deletions

View File

@ -135,41 +135,6 @@ state_color:
description: Set to `true` to have icons colored when entity is active.
type: boolean
default: true
tap_action:
required: false
description: Action to take on tap.
type: map
keys:
action:
required: true
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `none`)."
type: string
default: "`more-info`"
navigation_path:
required: false
description: "Path to navigate to (e.g., `/lovelace/0/`) when `action` defined as `navigate`."
type: string
default: none
url_path:
required: false
description: "Path to navigate to (e.g., `https://www.home-assistant.io`) when `action` defined as `url`."
type: string
default: none
service:
required: false
description: "Service to call (e.g., `media_player.media_play_pause`) when `action` defined as `call-service`."
type: string
default: none
service_data:
required: false
description: "Service data to include (e.g., `entity_id: media_player.bedroom`) when `action` defined as `call-service`."
type: string
default: none
confirmation:
required: false
description: "Present a confirmation dialog to confirm the action. See `confirmation` object below."
type: [boolean, map]
default: "false"
tap_action:
required: false
description: Action taken on card tap. See [action documentation](/dashboards/actions/#tap-action).

View File

@ -28,7 +28,7 @@ tap_action:
{% configuration tap-action %}
tap_action:
required: false
description: Action to take on tap.
description: Action taken on tap.
type: map
keys:
action:
@ -75,7 +75,7 @@ hold_action:
{% configuration hold_action %}
hold_action:
required: false
description: Action to take on tap-and-hold
description: Action taken on tap-and-hold
type: map
keys:
action:
@ -122,7 +122,7 @@ double_tap_action:
{% configuration double_tap_action %}
double_tap_action:
required: false
description: Action to take on double tap
description: Action taken on double tap
type: map
keys:
action: