From 281571c92b8a46c3073c12e12568761f95a2634e Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:39:43 +0100 Subject: [PATCH] Card actions: fix typo, add related link (#31964) --- source/dashboards/actions.markdown | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/source/dashboards/actions.markdown b/source/dashboards/actions.markdown index 31de1e1b0aa..1010ea4f4a8 100644 --- a/source/dashboards/actions.markdown +++ b/source/dashboards/actions.markdown @@ -5,7 +5,7 @@ description: "Define what an object does when interacted with." Some cards have support for tap actions. These actions define what will happen when you tap or hold on an object within a card. -Actions can be enabled on: +Actions can be enabled on the following cards: - [Button](/dashboards/button/) - [Entities](/dashboards/entities/) @@ -16,7 +16,7 @@ Actions can be enabled on: - [Picture entity](/dashboards/picture-entity/) - [Picture glance](/dashboards/picture-glance/) -## Tap-Action +## Tap action Action that will be performed when an object on a card is tapped. @@ -78,7 +78,7 @@ tap_action: default: none {% endconfiguration %} -## Hold Action +## Hold action Action that will be performed when an object on a card is tapped, held for at least half a second and then released. Action will only be triggered once, not continuously during hold. @@ -140,7 +140,7 @@ hold_action: default: none {% endconfiguration %} -## Double-Tap Action +## Double tap action Action that will be performed when an object on a card is double-tapped. @@ -264,3 +264,14 @@ hold_action: ## Limitations It is not possible to use templates for actions. But calling a [script](/docs/scripts/) is a good alternative. + +## Related topics + +- [Button card](/dashboards/button/) +- [Entities card](/dashboards/entities/) +- [Glance card](/dashboards/glance/) +- [Light card](/dashboards/light/) +- [Picture card](/dashboards/picture/) +- [Picture element card](/dashboards/picture-elements/) +- [Picture entity card](/dashboards/picture-entity/) +- [Picture glance card](/dashboards/picture-glance/) \ No newline at end of file