File tree 5 files changed +7
-8
lines changed
5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
default_config :
2
2
lovelace :
3
3
mode : yaml
4
+ conversation :
4
5
input_boolean :
5
6
footer :
6
7
name : ' footer:'
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ custom_header:
11
11
footer : ' {{ states.input_boolean.footer.state == "on" }}'
12
12
chevrons : ' {{ states.input_boolean.chevrons.state == "on" }}'
13
13
hide_tabs : ' {{ states.input_text.hide_tabs.state }}'
14
+ background : dimgray
14
15
views :
15
16
- icon : mdi:pac-man
16
17
title : pacman
17
- background : dimgray
18
18
cards :
19
19
- type : entities
20
20
entities :
@@ -29,19 +29,13 @@ views:
29
29
- entity : input_text.hide_tabs
30
30
- icon : mdi:ghost
31
31
title : ghost
32
- background : dimgray
33
32
- icon : mdi:skull
34
33
title : skull
35
- background : dimgray
36
34
- icon : mdi:bomb
37
35
title : bomb
38
- background : dimgray
39
36
- icon : mdi:death-star-variant
40
37
title : death star
41
- background : dimgray
42
38
- icon : mdi:space-invaders
43
39
title : invader
44
- background : dimgray
45
40
- icon : mdi:triforce
46
41
title : triforce
47
- background : dimgray
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export const buildHeader = () => {
43
43
} ) ;
44
44
} ) ;
45
45
} else {
46
+ if ( ! root . querySelector ( name ) ) return ;
46
47
header [ button ] = document . createElement ( 'paper-icon-button' ) ;
47
48
header [ button ] . addEventListener ( 'click' , ( ) => {
48
49
root
Original file line number Diff line number Diff line change @@ -118,4 +118,7 @@ export const styleHeader = config => {
118
118
attributeFilter : [ 'style' ] ,
119
119
} ) ;
120
120
menuButtonVisibility ( ) ;
121
+
122
+ header . tabContainer . querySelector ( 'paper-tab.iron-selected' ) . click ( ) ;
123
+ window . dispatchEvent ( new Event ( 'resize' ) ) ;
121
124
} ;
You can’t perform that action at this time.
0 commit comments