Update sidebar.markdown (#29140)

This commit is contained in:
OzGav 2023-10-04 16:45:03 +10:00 committed by GitHub
parent c1baa34398
commit 780e40e714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,18 +25,6 @@ type:
type: string
{% endconfiguration %}
### Example
Alternatively, the position of the card can be configured using YAML with the `view_layout` option:
```yaml
type: entities
entities:
- media_player.lounge_room
view_layout:
position: sidebar
```
## Cards config:
{% configuration %}
@ -45,3 +33,17 @@ view_layout.position:
description: "The position of the card, `main` or `sidebar`"
type: string
{% endconfiguration %}
### Example
The position of the card is configured using YAML with the `view_layout` option:
```yaml
type: sidebar
cards:
- type: entities
entities:
- media_player.lounge_room
view_layout:
position: sidebar
```