mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Cleanup wording for action config (#22896)
This commit is contained in:
parent
bc5ad263d3
commit
29b8de6042
@ -135,41 +135,6 @@ state_color:
|
|||||||
description: Set to `true` to have icons colored when entity is active.
|
description: Set to `true` to have icons colored when entity is active.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
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:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action taken on card tap. See [action documentation](/dashboards/actions/#tap-action).
|
description: Action taken on card tap. See [action documentation](/dashboards/actions/#tap-action).
|
||||||
|
@ -28,7 +28,7 @@ tap_action:
|
|||||||
{% configuration tap-action %}
|
{% configuration tap-action %}
|
||||||
tap_action:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on tap.
|
description: Action taken on tap.
|
||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
@ -75,7 +75,7 @@ hold_action:
|
|||||||
{% configuration hold_action %}
|
{% configuration hold_action %}
|
||||||
hold_action:
|
hold_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on tap-and-hold
|
description: Action taken on tap-and-hold
|
||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
@ -122,7 +122,7 @@ double_tap_action:
|
|||||||
{% configuration double_tap_action %}
|
{% configuration double_tap_action %}
|
||||||
double_tap_action:
|
double_tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on double tap
|
description: Action taken on double tap
|
||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user