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:
Ian Richardson 2019-10-11 04:36:27 -05:00 committed by Franck Nijhof
parent b5b5d32b65
commit b70e06aadf
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,10 @@ type:
required: true
description: horizontal-stack
type: string
title:
required: false
description: Title of Stack
type: string
cards:
required: true
description: List of cards.
@ -21,6 +25,7 @@ cards:
```yaml
type: horizontal-stack
title: Lights
cards:
- type: picture-entity
image: /local/bed_1.png

View File

@ -11,6 +11,10 @@ type:
required: true
description: vertical-stack
type: string
title:
required: false
description: Title of Stack
type: string
cards:
required: true
description: List of cards.
@ -23,6 +27,7 @@ Basic example:
```yaml
type: vertical-stack
title: Backyard
cards:
- type: picture-entity
entity: camera.demo_camera