mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
add title option to stack cards (#10512)
* add title option to stack cards * Update horizontal-stack.markdown * Update vertical-stack.markdown
This commit is contained in:
parent
b5b5d32b65
commit
b70e06aadf
@ -11,6 +11,10 @@ type:
|
|||||||
required: true
|
required: true
|
||||||
description: horizontal-stack
|
description: horizontal-stack
|
||||||
type: string
|
type: string
|
||||||
|
title:
|
||||||
|
required: false
|
||||||
|
description: Title of Stack
|
||||||
|
type: string
|
||||||
cards:
|
cards:
|
||||||
required: true
|
required: true
|
||||||
description: List of cards.
|
description: List of cards.
|
||||||
@ -21,6 +25,7 @@ cards:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
type: horizontal-stack
|
type: horizontal-stack
|
||||||
|
title: Lights
|
||||||
cards:
|
cards:
|
||||||
- type: picture-entity
|
- type: picture-entity
|
||||||
image: /local/bed_1.png
|
image: /local/bed_1.png
|
||||||
|
@ -11,6 +11,10 @@ type:
|
|||||||
required: true
|
required: true
|
||||||
description: vertical-stack
|
description: vertical-stack
|
||||||
type: string
|
type: string
|
||||||
|
title:
|
||||||
|
required: false
|
||||||
|
description: Title of Stack
|
||||||
|
type: string
|
||||||
cards:
|
cards:
|
||||||
required: true
|
required: true
|
||||||
description: List of cards.
|
description: List of cards.
|
||||||
@ -23,6 +27,7 @@ Basic example:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
|
title: Backyard
|
||||||
cards:
|
cards:
|
||||||
- type: picture-entity
|
- type: picture-entity
|
||||||
entity: camera.demo_camera
|
entity: camera.demo_camera
|
||||||
|
Loading…
x
Reference in New Issue
Block a user