-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCell_Weather_Actual_1.yaml
188 lines (188 loc) · 5.38 KB
/
Cell_Weather_Actual_1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
uid: Cell_Weather_Actual_1
tags:
- Wetterkarte Icons
props:
parameters:
- description: Small title on top of the card
label: Title
name: title
required: false
type: TEXT
- description: HEX or rgba
label: Background Color
name: bgcolor
required: false
type: TEXT
- description: page ID of chart to be opened
label: page
name: page
required: false
- context: item
description: Item of Outsidetemp
label: Outsidetemperature
name: item_temp
required: false
type: TEXT
- context: item
description: Item of Outsidehumidity
label: Humidity
name: item_hum
required: false
type: TEXT
- context: item
description: Item of Rain Today
label: Rain
name: item_rain
required: false
type: TEXT
- context: item
description: Item of Strikes
label: Strike Count
name: item_strike
required: false
type: TEXT
- context: item
description: Item of Illuminance
label: Illuminance
name: item_ill
required: false
type: TEXT
- context: item
description: Item of Wind Avg
label: Wind
name: item_wind
required: false
type: TEXT
- context: item
description: Item of Wind Direction
label: Wind Dir
name: item_wind_dir
required: false
type: TEXT
parameterGroups: []
timestamp: Nov 25, 2021, 2:23:55 PM
component: f7-card
config:
style:
background-color: "=props.bgcolor ? props.bgcolor : ''"
border-radius: var(--f7-card-expandable-border-radius)
box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.1)
class:
- padding: 0px
height: 150px
margin-left: 5px
margin-right: 5px
noShadow: false
slots:
content:
- component: f7-block
config:
style:
display: flex
flex-direction: row
left: 16px
position: absolute
top: -5px
slots:
default:
- component: f7-icon
config:
f7: sun_max
size: 18
style:
margin-right: 10px
- component: Label
config:
style:
font-size: 12px
margin-top: 0px
text: "=props.title ? props.title : ''"
- component: f7-block
config:
style:
left: 16px
position: absolute
top: 60px
width: 100%
slots:
default:
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: thermometer
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_temp].state
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: drop
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_hum].displayState
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: sun_min
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_ill].displayState
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: cloud_drizzle
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_rain].displayState
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: bolt
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_strike].state
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: wind
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_wind].displayState
- component: f7-chip
config:
iconColor: "=themeOptions.dark === 'dark' ? 'white' : 'black'"
iconF7: compass
iconSize: 20
style:
--f7-chip-bg-color: rgba(255, 255, 255, 0)
font-size: 16px
margin-bottom: 10px
text: =items[props.item_wind_dir].state
- component: oh-link
config:
action: navigate
actionPage: ='page:' + props.page
style:
height: 150px
left: 0px
position: absolute
top: 0px
width: 100%