mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Card actions: fix typo, add related link (#31964)
This commit is contained in:
parent
92b651e609
commit
281571c92b
@ -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/)
|
Loading…
x
Reference in New Issue
Block a user