-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlovelace-card.yaml
193 lines (189 loc) · 4.13 KB
/
lovelace-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
elements:
- camera_image: camera.sklennik
camera_view: live
entity: camera.sklennik
style:
left: 45%
top: 55%
width: 130%
type: image
- image: /local/sklennik-card/background2.png
style:
left: 50%
top: 82%
width: 101%
tap_action: none
type: image
- color_thresholds:
- color: '#4dd2ff'
value: 18
- color: '#ffa31a'
value: 22
- color: '#ff1a1a'
value: 26
entities:
- sensor.bylinky_teplota_3
icon: 'mdi:home-thermometer-outline'
show:
icon: false
legend: false
name: false
style: |
:host {
left: 50%;
top: 85.5%;
width: 100% !important;
overflow: hidden;
height: 29%;
background: none !important;
box-shadow: none !important;
//border: 1px solid red !important;
}
.header {
font-size: 1vw;
position: absolute !important;
width: 25% !important;
padding: 0 !important;
right: 10% !important;
top: 15% !important;
color: white;
}
ha-card {
background: none !important;
padding: 0 !important;
}
.icon > ha-icon {
width:1.8vw !important;
height:1.8vw !important;
}
.state__time{
font-size:0.9vw !important;
margin-top: 0.2vw;
font-weight: 300 !important;
opacity: 0.4 !important;
}
.states {
font-size: 0.5vw !important;
padding: 1vw 0vw 0vw 0vw !important;
margin: auto !important;
position: absolute !important;
padding: 0 !important;
left: 2% !important;
top: 6% !important;
color: white;
}
type: 'custom:mini-graph-card'
- image: /local/sklennik-card/circle.png
style:
left: 22%
top: 76%
width: 14%
type: image
- image: /local/sklennik-card/water-percent.png
style:
left: 22%
top: 69%
width: 8%
type: image
- entity: sensor.bylinky_vlhost_cislo
style:
font-size: 1vw
font-weight: 500
left: 22%
top: 76.5%
color: white
type: state-label
- image: /local/sklennik-card/percent.png
style:
left: 22%
top: 83%
width: 11%
type: image
- image: /local/sklennik-card/circle.png
style:
left: 39%
top: 76%
width: 14%
type: image
- image: /local/sklennik-card/brightness-7.png
style:
left: 39%
top: 69%
width: 6%
type: image
- entity: sensor.bylinky_svetlo_cislo
style:
font-size: 1vw
font-weight: 500
left: 39%
top: 76.5%
color: white
type: state-label
- image: /local/sklennik-card/lx.png
style:
left: 39%
top: 83%
width: 11%
type: image
- image: /local/sklennik-card/circle.png
style:
left: 56%
top: 76%
width: 14%
type: image
- image: /local/sklennik-card/emoticon-poop.png
style:
left: 56%
top: 69%
width: 7%
type: image
- entity: sensor.bylinky_hnojivo_cislo
style:
font-size: 1vw
font-weight: 500
left: 56%
top: 76.5%
color: white
type: state-label
- image: /local/sklennik-card/uscm.png
style:
left: 56%
top: 83%
width: 11%
type: image
- image: /local/sklennik-card/circle.png
style:
left: 73%
top: 76%
width: 14%
type: image
- entity: light.sklennik_svetla
state_image:
'off': /local/sklennik-card/lightbulb-off.png
'on': /local/sklennik-card/lightbulb-on.png
style:
left: 73%
top: 75.5%
width: 9%
tap_action:
action: toggle
type: image
- image: /local/sklennik-card/circle.png
style:
left: 90%
top: 76%
width: 14%
type: image
- entity: fan.sklennik_vetranie
state_image:
'off': /local/sklennik-card/fan-off.png
'on': /local/sklennik-card/fan-on.png
style:
left: 90%
top: 76%
width: 9%
tap_action:
action: toggle
type: image
image: /local/sklennik-card/transparent.png
type: picture-elements