You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/lovelace/views.markdown
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ views:
57
57
default: true
58
58
{% endconfiguration %}
59
59
60
-
## Options For Visible
60
+
###Options For Visible
61
61
62
62
If you define `visible` as objects instead of a boolean to specify conditions for displaying the view tab:
63
63
@@ -83,11 +83,11 @@ View config:
83
83
image: /local/lights.png
84
84
```
85
85
86
-
## Paths
86
+
## Path
87
87
88
-
You can link to one view from another view by its path. For this use cards that support navigation (`navigation_path`). Do not use special characters in paths. Do not begin a path with a number. This will cause the parser to read your path as a view index.
88
+
You can link to one view from a card in another view when using cards that support navigation (`navigation_path`). The string supplied here will be appended to the string `/lovelace/` to create the path to the view. Do not use special characters in paths. Do not begin a path with a number. This will cause the parser to read your path as a view index.
89
89
90
-
### Example
90
+
#### Example
91
91
92
92
View config:
93
93
@@ -107,11 +107,11 @@ Picture card config:
107
107
navigation_path: /lovelace/living_room
108
108
```
109
109
110
-
## Icons
110
+
## Icon
111
111
112
112
If you define an icon the title will be used as a tool-tip.
113
113
114
-
### Example
114
+
#### Example
115
115
116
116
```yaml
117
117
- title: Garden
@@ -122,7 +122,7 @@ If you define an icon the title will be used as a tool-tip.
122
122
123
123
You can specify the visibility of views as a whole or per-user. (Note: This is only for the display of the tabs. The url path is still accessible)
124
124
125
-
### Example
125
+
#### Example
126
126
127
127
```yaml
128
128
views:
@@ -142,11 +142,11 @@ views:
142
142
...
143
143
```
144
144
145
-
## Panel mode
145
+
## Panel
146
146
147
-
This renders the first card on full width, other cards in this view will not be rendered. Good for cards like `map`, `stack` or `picture-elements`.
147
+
Setting panel true sets the view to panel mode. In this mode the first card is rendered full-width, other cards in the view will not be rendered. This mode is good when using cards like `map`, `stack` or `picture-elements`.
148
148
149
-
### Example
149
+
#### Example
150
150
151
151
```yaml
152
152
- title: Map
@@ -158,18 +158,18 @@ This renders the first card on full width, other cards in this view will not be
158
158
- zone.home
159
159
```
160
160
161
-
## Themes
161
+
## Theme
162
162
163
163
Set a separate [theme](/integrations/frontend/#themes) for the view and its cards.
164
164
165
-
### Example
165
+
#### Example
166
166
167
167
```yaml
168
168
- title: Home
169
169
theme: happy
170
170
```
171
171
172
-
### Background
172
+
## Background
173
173
174
174
You can style the background of your views with a [theme](/integrations/frontend/#themes). You can use the CSS variable `lovelace-background`. For wallpapers you probably want to use the example below, more options can be found [here](https://developer.mozilla.org/en-US/docs/Web/CSS/background).
0 commit comments