mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add new toggle card feature (#37589)
This commit is contained in:
parent
c2202bdfc7
commit
aef76e8eb6
@ -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).
|
||||||
|
BIN
source/images/dashboards/features/toggle.png
Normal file
BIN
source/images/dashboards/features/toggle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Loading…
x
Reference in New Issue
Block a user