Skip to content

Commit

Permalink
Tap actions for gauge card (home-assistant#32885)
Browse files Browse the repository at this point in the history
* Tap actions for gauge card

* Update actions.markdown

* Update actions.markdown
  • Loading branch information
karwosts authored May 22, 2024
1 parent 09fa631 commit 2d33f27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions source/_dashboards/gauge.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,18 @@ segments:
required: false
description: Label of the segment. This will be shown instead of the value.
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 %}

### Examples
Expand Down
3 changes: 3 additions & 0 deletions source/dashboards/actions.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ Actions can be enabled on the following cards:

- [Button](/dashboards/button/)
- [Entities](/dashboards/entities/)
- [Gauge](/dashboards/gauge/)
- [Glance](/dashboards/glance/)
- [Light](/dashboards/light/)
- [Picture](/dashboards/picture/)
- [Picture element](/dashboards/picture-elements/)
- [Picture entity](/dashboards/picture-entity/)
- [Picture glance](/dashboards/picture-glance/)
- [Tile](/dashboards/tile/)
- [Weather forecast](/dashboards/weather-forecast/)

## Tap action

Expand Down

0 comments on commit 2d33f27

Please sign in to comment.