Skip to content

Commit

Permalink
Add new toggle card feature (#37589)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored Feb 20, 2025
1 parent c2202bd commit aef76e8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions source/dashboards/features.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,27 @@ type:
type: string
{% 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

Widget that displays actions to install or skip an [update](/integrations/update).
Expand Down
Binary file added source/images/dashboards/features/toggle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aef76e8

Please sign in to comment.