mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 01:46:50 +00:00
Update tap action service config (#34045)
This commit is contained in:
parent
316165b551
commit
a89c883806
@ -53,7 +53,7 @@ tap_action:
|
|||||||
keys:
|
keys:
|
||||||
action:
|
action:
|
||||||
required: true
|
required: true
|
||||||
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `url`, `assist`, `none`)"
|
description: "Action to perform (`more-info`, `toggle`, `perform-action`, `navigate`, `url`, `assist`, `none`)"
|
||||||
type: string
|
type: string
|
||||||
default: "`toggle` (some cards overwrite default to `more-info` if the provided entity cannot be toggled)"
|
default: "`toggle` (some cards overwrite default to `more-info` if the provided entity cannot be toggled)"
|
||||||
navigation_path:
|
navigation_path:
|
||||||
@ -71,14 +71,19 @@ tap_action:
|
|||||||
description: "Path to navigate to (e.g., `https://www.home-assistant.io`) when the `action` is defined as `url`"
|
description: "Path to navigate to (e.g., `https://www.home-assistant.io`) when the `action` is defined as `url`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
service:
|
perform-action:
|
||||||
required: false
|
required: false
|
||||||
description: "Service to call (e.g., `media_player.media_play_pause`) when the `action` is defined as `call-service`"
|
description: "Action to perform (e.g., `media_player.media_play_pause`) when the `action` is defined as `perform-action`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
data:
|
data:
|
||||||
required: false
|
required: false
|
||||||
description: "Service data to include (e.g., `entity_id: media_player.bedroom`) when the `action` is defined as `call-service`"
|
description: "Action data to include (e.g., `brightness: 100`) when the `action` is defined as `perform-action`"
|
||||||
|
type: string
|
||||||
|
default: none
|
||||||
|
target:
|
||||||
|
required: false
|
||||||
|
description: "Action target to user (e.g., `entity_id: media_player.bedroom`) when the `action` is defined as `perform-action`"
|
||||||
type: string
|
type: string
|
||||||
default: none
|
default: none
|
||||||
confirmation:
|
confirmation:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user