Tap actions for gauge card (#32885)

* Tap actions for gauge card

* Update actions.markdown

* Update actions.markdown
This commit is contained in:
karwosts 2024-05-22 07:29:34 -07:00 committed by GitHub
parent 09fa631370
commit 2d33f27164
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View File

@ -102,6 +102,18 @@ segments:
required: false required: false
description: Label of the segment. This will be shown instead of the value. description: Label of the segment. This will be shown instead of the value.
type: string type: string
tap_action:
required: false
description: Action taken on card tap. See [action documentation](/dashboards/actions/#tap-action).
type: map
hold_action:
required: false
description: Action taken on card tap and hold. See [action documentation](/dashboards/actions/#hold-action).
type: map
double_tap_action:
required: false
description: Action taken on card double tap. See [action documentation](/dashboards/actions/#double-tap-action).
type: map
{% endconfiguration %} {% endconfiguration %}
### Examples ### Examples

View File

@ -26,12 +26,15 @@ Actions can be enabled on the following cards:
- [Button](/dashboards/button/) - [Button](/dashboards/button/)
- [Entities](/dashboards/entities/) - [Entities](/dashboards/entities/)
- [Gauge](/dashboards/gauge/)
- [Glance](/dashboards/glance/) - [Glance](/dashboards/glance/)
- [Light](/dashboards/light/) - [Light](/dashboards/light/)
- [Picture](/dashboards/picture/) - [Picture](/dashboards/picture/)
- [Picture element](/dashboards/picture-elements/) - [Picture element](/dashboards/picture-elements/)
- [Picture entity](/dashboards/picture-entity/) - [Picture entity](/dashboards/picture-entity/)
- [Picture glance](/dashboards/picture-glance/) - [Picture glance](/dashboards/picture-glance/)
- [Tile](/dashboards/tile/)
- [Weather forecast](/dashboards/weather-forecast/)
## Tap action ## Tap action