mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update button.markdown (#36527)
This commit is contained in:
parent
9d6b4c9e6a
commit
89729b6d98
@ -156,6 +156,7 @@ Screenshot of a vertical stack card with 4 buttons and an entity selector.
|
|||||||
The image shows a vertical stack card with 4 buttons arranged in a horizontal stack card and an entity selector. The buttons use the toggle action to run a script, for example, the Netflix script, which starts up the TV and opens Netflix. To learn how to create scripts, refer to [scripts](/docs/scripts/).
|
The image shows a vertical stack card with 4 buttons arranged in a horizontal stack card and an entity selector. The buttons use the toggle action to run a script, for example, the Netflix script, which starts up the TV and opens Netflix. To learn how to create scripts, refer to [scripts](/docs/scripts/).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- entities:
|
- entities:
|
||||||
- entity: input_select.living_room_scene
|
- entity: input_select.living_room_scene
|
||||||
@ -201,5 +202,4 @@ cards:
|
|||||||
action: more-info
|
action: more-info
|
||||||
show_name: true
|
show_name: true
|
||||||
show_icon: true
|
show_icon: true
|
||||||
type: vertical-stack
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user