Add hold action and double tap actions to Light Card docs (#15041)

The Light card supports hold actions and double tap actions. This was documented on the Actions page already, but not the actual page for the card itself.
This commit is contained in:
Sean Mooney 2020-10-09 09:27:32 -04:00 committed by GitHub
parent f9e20f1e71
commit 26334d93bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,14 @@ theme:
required: false
description: Set to any theme within `themes.yaml`.
type: string
hold_action:
required: false
description: Action taken on card tap and hold. See [action documentation](/lovelace/actions/#hold-action).
type: map
double_tap_action:
required: false
description: Action taken on card double tap. See [action documentation](/lovelace/actions/#double-tap-action).
type: map
{% endconfiguration %}
## Examples