mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
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:
parent
fa3976a2b3
commit
769c2e96c1
@ -162,6 +162,35 @@ preset_modes:
|
|||||||
type: list
|
type: list
|
||||||
{% endconfiguration %}
|
{% 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
|
## Cover open/close
|
||||||
|
|
||||||
Widget that displays buttons to open, close, or stop a [cover](/integrations/cover).
|
Widget that displays buttons to open, close, or stop a [cover](/integrations/cover).
|
||||||
|
BIN
source/images/dashboards/features/counter_actions.png
Normal file
BIN
source/images/dashboards/features/counter_actions.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
x
Reference in New Issue
Block a user