-
Notifications
You must be signed in to change notification settings - Fork 1
/
nilanec_picture-element-card.yaml
227 lines (227 loc) · 5.49 KB
/
nilanec_picture-element-card.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
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
type: picture-elements
image: /local/NilanEC.svg
elements:
- type: icon
icon: mdi:fan
style:
top: 42%
left: 50%
- type: icon
icon: mdi:water
style:
top: 64%
left: 31%
- type: state-label
entity: sensor.nilanec_airtemp_effpct
style:
top: 32%
left: 50%
- type: state-label
entity: sensor.nilanec_input_t1_intake
style:
top: 4%
left: 23%
- type: state-label
entity: sensor.nilanec_input_t7_inlet
style:
top: 55%
left: 77%
- type: state-label
entity: sensor.nilanec_input_t6_evap
style:
top: 4%
left: 77%
- type: state-label
entity: sensor.nilanec_input_t15_room
style:
top: 55%
left: 24%
- type: state-label
entity: sensor.nilanec_input_t11_top
style:
top: 70%
left: 50%
- type: state-label
entity: sensor.nilanec_input_t12_bottom
style:
top: 89%
left: 50%
- type: state-label
entity: sensor.nilanec_input_rh
style:
top: 64%
left: 24%
- type: state-label
entity: sensor.nilanec_output_inletspeed
style:
top: 42%
left: 58%
- type: state-label
entity: sensor.nilanec_output_exhaustspeed
style:
top: 42%
left: 43%
- type: state-label
entity: sensor.nilanec_mode
prefix: 'Mode: '
style:
top: 48%
left: 50%
- type: state-label
entity: sensor.nilanec_state
style:
top: 53%
left: 50%
- type: conditional
conditions:
- entity: sensor.nilanec_alarm_status
state_not: '0'
elements:
- type: icon
icon: mdi:alert
style:
top: 58%
left: 48%
'--paper-item-icon-color': red
- type: state-label
entity: sensor.nilanec_alarm_status
style:
top: 58%
left: 52%
- type: conditional
conditions:
- entity: sensor.nilanec_airtemp_issummer
state: '1'
elements:
- type: icon
icon: mdi:sun-thermometer
entity: sensor.nilanec_airtemp_issummer
style:
top: 4%
left: 38%
- type: conditional
conditions:
- entity: sensor.nilanec_airtemp_issummer
state: '0'
elements:
- type: icon
icon: mdi:snowflake-thermometer
entity: sensor.nilanec_airtemp_issummer
style:
top: 4%
left: 38%
- type: conditional
conditions:
- entity: sensor.nilanec_output_waterheat
state: '1'
elements:
- type: icon
icon: mdi:lightning-bolt-circle
entity: sensor.nilanec_output_waterheat
style:
top: 66%
left: 44%
'--paper-item-icon-color': red
- type: icon
icon: mdi:lightning-bolt-circle
entity: sensor.nilanec_output_waterheat
style:
top: 66%
left: 56%
'--paper-item-icon-color': red
- type: conditional
conditions:
- entity: sensor.nilanec_output_compressor
state: '1'
elements:
- type: icon
icon: mdi:pump
entity: sensor.nilanec_output_compressor
style:
top: 19%
left: 50%
'--paper-item-icon-color': green
- type: conditional
conditions:
- entity: sensor.nilanec_output_compressor
state: '0'
elements:
- type: icon
icon: mdi:pump-off
entity: sensor.nilanec_output_compressor
style:
top: 19%
left: 50%
'--paper-item-icon-color': gray
- type: conditional
conditions:
- entity: sensor.nilanec_output_defrosting
state: '1'
elements:
- type: icon
icon: mdi:snowflake-melt
entity: sensor.nilanec_output_defrosting
style:
top: 19%
left: 57%
'--paper-item-icon-color': gray
- type: conditional
conditions:
- entity: sensor.nilanec_fan_speed_set
state: '1'
elements:
- type: icon
icon: mdi:fan-speed-1
entity: sensor.nilanec_fan_speed_set
style:
top: 19%
left: 43%
'--paper-item-icon-color': gray
- type: conditional
conditions:
- entity: sensor.nilanec_fan_speed_set
state: '2'
elements:
- type: icon
icon: mdi:fan-speed-2
entity: sensor.nilanec_fan_speed_set
style:
top: 19%
left: 43%
'--paper-item-icon-color': gray
- type: conditional
conditions:
- entity: sensor.nilanec_fan_speed_set
state: '3'
elements:
- type: icon
icon: mdi:fan-speed-3
entity: sensor.nilanec_fan_speed_set
style:
top: 19%
left: 43%
'--paper-item-icon-color': gray
- type: conditional
conditions:
- entity: sensor.nilanec_fan_speed_set
state: '0'
elements:
- type: icon
icon: mdi:fan-off
entity: sensor.nilanec_fan_speed_set
style:
top: 19%
left: 43%
'--paper-item-icon-color': gray
- type: conditional
conditions:
- entity: sensor.nilanec_fan_speed_set
state: '4'
elements:
- type: icon
icon: mdi:fan
entity: sensor.nilanec_fan_speed_set
style:
top: 19%
left: 43%
'--paper-item-icon-color': gray