Add new counter actions to tile card features (#37594)

* Add new counter actions to tile card features

* Replace image

* Replace image
This commit is contained in:
Jan-Philipp Benecke 2025-02-20 20:08:37 +01:00 committed by GitHub
parent fa3976a2b3
commit 769c2e96c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 0 deletions

View File

@ -162,6 +162,35 @@ preset_modes:
type: list
{% endconfiguration %}
## Counter actions
Widget that displays buttons to increment, decrement and reset a [counter](/integrations/counter).
<p class='img'>
<img src='/images/dashboards/features/counter_actions.png' alt='Screenshot of the tile card with counter actions feature'>
Screenshot of the tile card with counter actions feature
</p>
```yaml
features:
- type: "counter-actions"
actions:
- increment
- decrement
- reset
```
{% configuration features %}
type:
required: true
description: "`counter-actions`"
type: string
actions:
required: true
description: List of actions to show on the card. The list can contain `increment`, `decrement`, and `reset`.
type: list
{% endconfiguration %}
## Cover open/close
Widget that displays buttons to open, close, or stop a [cover](/integrations/cover).

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB