Add new toggle card feature (#37589)

This commit is contained in:
Jan-Philipp Benecke 2025-02-20 19:40:37 +01:00 committed by GitHub
parent c2202bdfc7
commit aef76e8eb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

View File

@ -560,6 +560,27 @@ type:
type: string type: string
{% endconfiguration %} {% endconfiguration %}
## Toggle
Widget that displays a button to toggle a [switch](/integrations/switch) or [input boolean](/integrations/input_boolean) entity on or off.
<p class='img'>
<img src='/images/dashboards/features/toggle.png' alt='Screenshot of the tile card with the toggle feature'>
Screenshot of the tile card with the toggle feature
</p>
```yaml
features:
- type: "toggle"
```
{% configuration features %}
type:
required: true
description: "`toggle`"
type: string
{% endconfiguration %}
## Update actions ## Update actions
Widget that displays actions to install or skip an [update](/integrations/update). Widget that displays actions to install or skip an [update](/integrations/update).

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB