forked from LasseKofoed/DVI_HA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
heatpump picture-card code
113 lines (113 loc) · 2.6 KB
/
heatpump picture-card code
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
type: picture-elements
title: DVI LV12 Compact varmepumpe
image: /local/images/dvi.gif?v=2
style:
hight: 50%
Width: 50%
elements:
- type: conditional
conditions:
- entity: binary_sensor.heatpump_cv_on
state: 'on'
elements:
- type: image
image: /local/images/CV_on.gif
style:
top: 78%
left: 89%
width: 21%
- type: image
image: /local/images/CVflow_on.gif
style:
top: 88.9%
left: 71.8%
width: 14.2%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Centralheating.Forward
suffix: °
style:
top: 80%
left: 72%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Centralheating.Return
suffix: °
style:
top: 93%
left: 67%
font-size: 100%
- type: conditional
conditions:
- entity: binary_sensor.heatpump_korer
state: 'on'
elements:
- type: image
image: /local/images/HP_on.gif
style:
top: 62.7%
left: 18.4%
width: 33.9%
- type: image
image: /local/images/COMP_on.gif
style:
top: 62.75%
left: 46%
width: 21.3%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: LV.Evaporator1
suffix: °
style:
top: 77%
left: 16%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Highpressure
suffix: °
style:
top: 43%
left: 46%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Lowpressure
suffix: °
style:
top: 43%
left: 32%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Outsidetemperature
suffix: °
style:
top: 13%
left: 13%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Sensor.Date
prefix: Last update
style:
top: 0%
left: 55%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Storagetank.Centralheating
suffix: °
style:
top: 70%
left: 61%
font-size: 100%
- type: state-label
entity: sensor.dvi_heatpump_sensors
attribute: Storagetank.Hotwater
suffix: °
style:
top: 33%
left: 86%
font-size: 100%