mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update sidebar.markdown (#29140)
This commit is contained in:
parent
c1baa34398
commit
780e40e714
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user