-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTemoumidostatiGSI
328 lines (328 loc) · 11.9 KB
/
TemoumidostatiGSI
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
uid: Termoumidostato
tags: []
props:
parameters:
- description: Location (room) or device name
label: Title
name: title
required: false
type: TEXT
- context: item
description: Item for Termoumidostato Power
label: Proxy AttTermoX
name: itemPower
required: false
type: TEXT
- context: item
description: Item for Termoumidostato Indoor Temperature
label: TermoumidostatoXT
name: itemIndoorTemp
required: false
type: TEXT
- context: item
description: Item for Termoumidostato relè status
label: StatoReleX
name: itemReleStatus
required: false
type: TEXT
- context: item
description: Item for Termoumidostato Status
label: FeedBReleX
name: itemDeviceStatus
required: false
type: TEXT
- context: item
description: Item for Termoumidostato Wating
label: ProxyWatingAttTermoX
name: itemDeviceWating
required: false
type: TEXT
- context: item
description: Item Termoumidostato humidity
label: TermoumidostatoXU
name: itemIndoorHumidity
required: false
type: TEXT
- context: item
description: Item Termoumidostato alarm
label: AllarmeThtX
name: itemAlarm
required: false
type: TEXT
- context: item
description: Item for Termoumidostato Temperature SetPoint
label: TermoumidostatoXS
name: itemTargetTemp
required: false
type: TEXT
- description: Set minimum target temperature (default = 1)
label: Minimum Temperature
name: MinimumTemperature
required: false
type: INTEGER
- description: Set maximum target temperature (default = 30)
label: Maximum Temperature
name: MaximumTemperature
required: false
type: INTEGER
- description: Set Target Temperature Stepsize (default = 1)
label: Target Temperature Stepsize
name: TemperatureStepsize
required: false
type: DECIMAL
parameterGroups: []
timestamp: Sep 24, 2022, 4:47:43 PM
component: f7-card
config:
class:
- no-padding
outline: true
title: =props.title
slots:
default:
- component: f7-row
config:
class:
- margin-top-half
- margin-left-half
- margin-right-half
- margin-bottom
slots:
default:
- component: f7-col
config:
large: "33"
width: "50"
slots:
default:
- component: f7-segmented
config:
class:
- segmented-strong
style:
--f7-button-border-radius: 5px
--f7-button-fill-hover-bg-color: var(--f7-theme-color)
--f7-button-padding-horizontal: 0px
--f7-button-padding-vertical: 0px
--f7-segmented-strong-between-buttons: 5px
--f7-segmented-strong-bg-color: transparent
--f7-segmented-strong-button-font-weight: 300
--f7-segmented-strong-button-hover-bg-color: rgba(var(--f7-theme-color-rgb), 0.07)
--f7-segmented-strong-padding: 0px
slots:
default:
- component: oh-button
config:
action: toggle
actionCommand: ON
actionCommandAlt: ON
actionItem: =props.itemPower
class:
- padding-top-half
- display-flex
- flex-direction-column
fill: "=(items[props.itemDeviceStatus].state == 1) ? true : false"
icon-f7: "=(items[props.itemDeviceWating].state != 0) ? 'power' : 'arrow_2_circlepath_circle' "
iconSize: 25
outline: true
style:
--f7-button-border-color: var(--f7-card-outline-border-color)
--f7-button-border-width: 1px
font-size: 8px
height: auto
text: ON/OFF
- component: f7-col
config:
width: "33"
slots:
default:
- component: f7-row
config:
class:
- padding-right-half
slots:
default:
- component: f7-col
config:
width: "25"
slots:
default:
- component: f7-icon
config:
class:
- float-right
color: var(--f7-theme-color)
f7: house
size: 15
- component: f7-col
config:
width: "75"
slots:
default:
- component: Label
config:
class:
- float-right
style:
font-size: 12px
overflow: hidden
text-overflow: elipsis
white-space: nowrap
text: =items[props.itemIndoorTemp].displayState
- component: f7-row
config:
class:
- padding-right-half
visible: =items[props.itemDeviceStatus].state == 1
slots:
default:
- component: f7-col
config:
width: "25"
slots:
default:
- component: f7-icon
config:
class:
- float-right
color: var(--f7-theme-color)
f7: bolt
size: 15
- component: f7-col
config:
width: "75"
slots:
default:
- component: Label
config:
class:
- float-right
style:
font-size: 12px
overflow: hidden
text-overflow: elipsis
white-space: nowrap
text: =items[props.itemReleStatus].displayState
- component: f7-row
config:
class:
- padding-right-half
slots:
default:
- component: f7-col
config:
width: "25"
slots:
default:
- component: f7-icon
config:
class:
- float-right
color: var(--f7-theme-color)
f7: drop
size: 15
- component: f7-col
config:
width: "75"
slots:
default:
- component: Label
config:
class:
- float-right
style:
font-size: 12px
overflow: hidden
text-overflow: elipsis
white-space: nowrap
text: =items[props.itemIndoorHumidity].displayState
- component: f7-row
config:
class:
- padding-right-half
visible: =!(items[props.itemAlarm].state == 0)
slots:
default:
- component: f7-col
config:
width: "25"
slots:
default:
- component: f7-icon
config:
class:
- float-right
color: var(--f7-theme-color)
f7: alarm
size: 15
- component: f7-col
config:
width: "75"
slots:
default:
- component: Label
config:
class:
- float-right
style:
font-size: 12px
overflow: hidden
text-overflow: elipsis
white-space: nowrap
text: =items[props.itemAlarm].state
- component: f7-row
config:
class:
- justify-content-center
visible: =items[props.itemDeviceStatus].state == 1
slots:
default:
- component: oh-stepper
config:
item: =props.itemTargetTemp
max: =props.MaximumTemperature
min: =props.MinimumTemperature
primaryColor: var(--f7-theme-color)
responsive: false
secondaryColor: var(--f7-card-outline-border-color)
size: 150
stepSize: =props.TemperatureStepsize
strokeWidth: "12"
- component: f7-segmented
config:
class:
- margin-left-half
- margin-right-half
- margin-top
- margin-bottom-half
style:
--f7-button-border-radius: 4px
--f7-button-font-size: 8px
--f7-button-font-weight: 300
--f7-button-outline-border-width: 1px
--f7-button-padding-horizontal: 0px
--f7-button-padding-vertical: 0px
--f7-button-text-color: "=themeOptions.dark === 'light' ? 'black' : 'white'"
visible: =items[props.itemPower].state === 'ON'
- component: f7-segmented
config:
class:
- margin-left-half
- margin-right-half
- margin-top
- margin-bottom-half
style:
--f7-button-border-radius: 4px
--f7-button-font-weight: 300
--f7-button-outline-border-width: 1px
--f7-button-padding-horizontal: 0px
--f7-button-padding-vertical: 0px
--f7-button-text-color: "=themeOptions.dark === 'light' ? 'black' : 'white'"
visible: "=vars.swing === false && vars.options === false ? true : false"
- component: f7-row
config:
class:
- margin-left-half
- margin-right-half
- margin-bottom-half
visible: "=vars.timer_menu === false && vars.options === false && !props.hideTimerFunction === true ? true : false"