1
1
---
2
2
custom_card_paddy_welcome :
3
- template :
4
- - " ulm_custom_card_paddy_welcome_language_variables"
5
3
show_icon : false
6
4
show_name : false
7
5
show_label : false
@@ -25,13 +23,13 @@ custom_card_paddy_welcome:
25
23
let welcome = '';
26
24
27
25
if (time > '18:00'){
28
- welcome = variables.ulm_custom_card_paddy_welcome_evening ;
26
+ welcome = variables.ulm_evening ;
29
27
} else if (time > '12:00'){
30
- welcome = variables.ulm_custom_card_paddy_welcome_afternoon ;
28
+ welcome = variables.ulm_afternoon ;
31
29
} else if (time > '05:00'){
32
- welcome = variables.ulm_custom_card_paddy_welcome_morning ;
30
+ welcome = variables.ulm_morning ;
33
31
} else {
34
- welcome = variables.ulm_custom_card_paddy_welcome_hello ;
32
+ welcome = variables.ulm_hello ;
35
33
}
36
34
37
35
return welcome + ',<br>' + user.name + '!';
@@ -47,8 +45,6 @@ custom_card_paddy_welcome:
47
45
}
48
46
49
47
custom_card_paddy_welcome_with_weather :
50
- template :
51
- - " ulm_custom_card_paddy_welcome_language_variables"
52
48
show_icon : false
53
49
show_name : false
54
50
show_label : false
@@ -72,14 +68,13 @@ custom_card_paddy_welcome_with_weather:
72
68
let welcome = '';
73
69
74
70
if (time > '18:00'){
75
- welcome = variables.ulm_custom_card_paddy_welcome_evening ;
71
+ welcome = variables.ulm_evening ;
76
72
} else if (time > '12:00'){
77
- welcome = variables.ulm_custom_card_paddy_welcome_afternoon ;
73
+ welcome = variables.ulm_afternoon ;
78
74
} else if (time > '05:00'){
79
- welcome = variables.ulm_custom_card_paddy_welcome_morning ;
75
+ welcome = variables.ulm_morning ;
80
76
} else {
81
- welcome = variables.ulm_custom_card_paddy_welcome_hello;
82
- }
77
+ welcome = variables.ulm_hello;
83
78
84
79
return welcome + ',<br>' + user.name + '!';
85
80
]]]
@@ -132,8 +127,6 @@ custom_card_paddy_welcome_with_weather:
132
127
}
133
128
134
129
custom_card_paddy_welcome_with_news :
135
- template :
136
- - " ulm_custom_card_paddy_welcome_language_variables"
137
130
show_icon : false
138
131
show_name : false
139
132
show_label : false
@@ -157,14 +150,13 @@ custom_card_paddy_welcome_with_news:
157
150
let welcome = '';
158
151
159
152
if (time > '18:00'){
160
- welcome = variables.ulm_custom_card_paddy_welcome_evening ;
153
+ welcome = variables.ulm_evening ;
161
154
} else if (time > '12:00'){
162
- welcome = variables.ulm_custom_card_paddy_welcome_afternoon ;
155
+ welcome = variables.ulm_afternoon ;
163
156
} else if (time > '05:00'){
164
- welcome = variables.ulm_custom_card_paddy_welcome_morning ;
157
+ welcome = variables.ulm_morning ;
165
158
} else {
166
- welcome = variables.ulm_custom_card_paddy_welcome_hello;
167
- }
159
+ welcome = variables.ulm_hello;
168
160
169
161
return welcome + ',<br>' + user.name + '!';
170
162
]]]
0 commit comments