-
Notifications
You must be signed in to change notification settings - Fork 1
/
ioniq 6 back view card alt.yaml
227 lines (227 loc) · 5.57 KB
/
ioniq 6 back view card alt.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/ioniq6a/ioniq6-back.png
elements:
- type: image
entity: PKACE YOUR DOOR LOCK ENITITY HERE
image: /local/ioniq6a/ioniq6-back.png
style:
left: 50%
top: 50%
width: 120%
- type: image
entity: sensor.ioniq_battery_dots
tap_action:
action: none
image: /local/ioniq2/centre-squares.png
state_image:
"10": /local/ioniq6a/10.png
"20": /local/ioniq6a/20.png
"30": /local/ioniq6a/30.png
"40": /local/ioniq6a/40.png
"50": /local/ioniq6a/50.png
"60": /local/ioniq6a/60.png
"70": /local/ioniq6a/70.png
"80": /local/ioniq6a/80.png
"90": /local/ioniq6a/90.png
"100": /local/ioniq6a/100.png
style:
left: 50%
top: 50%
width: 120%
heigth: 100%
style: |
ha-card {
box-shadow: none;
}
- type: custom:button-card
entity: PLACE YOUR DOOR LOCK ENITY HERE
name: Doors
color: white
tap_action:
action: toggle
haptic: medium
hold_action:
action: more-info
haptic: medium
styles:
card:
- aspect-ratio: 1/1
- border-radius: 20px
- size: 00%
- box-shadow: none
- background: transparent
- border: none
icon:
- color: white
grid:
- grid-template-areas: "\"i\" \"n\""
- grid-template-columns: 1fr
name:
- color: white
- font-family: null
state:
- value: unlocked
icon: mdi:lock-open-alert
styles:
icon:
- color: red
- animation: blink 2s ease infinite
name:
- color: red
style:
top: 17%
left: 7%
width: 20%
- type: custom:slider-entity-row
entity: PLACE YOUR DC CHARGING LIMIT HERE
name: DC Limit
style:
top: 5%
left: 18%
width: 59%
font-family: null
transform: scale(1,1)
- type: custom:slider-entity-row
entity: PLACE YOUR AC CHARGING LIMIT HERE
name: AC Limit
style:
top: "-3%"
left: 18%
width: 59%
font-family: null
transform: scale(1,1)
- type: custom:button-card
entity: sensor.ioniq_average_energy_consumption_mi_kwh
color: auto
size: 20%
name: M/kWh
show_name: true
show_state: true
show_icon: false
hold_action:
action: default
styles:
card:
- aspect-ratio: 3/1
- border-radius: 20px
- box-shadow: none
grid:
- grid-template-columns: 1fr
name:
- font-size: 80%
- padding-right: null
- padding-bottom: 0%
- color: white
- font-family: poxel
state:
- font-size: 90%
- color: white
- font-family: poxel
card_mod: null
style:
left: 64%
top: 79.5%
width: 24%
- type: custom:button-card
entity: PLACE YOUR EV RANGE SENSOR HERE
color: auto
size: 20%
name: GuessOmeter
show_name: true
show_state: true
show_icon: false
hold_action:
action: default
styles:
card:
- aspect-ratio: 3/1
- border-radius: 20px
- box-shadow: none
grid:
- grid-template-columns: 1fr
name:
- font-size: 80%
- padding-right: null
- padding-bottom: 0%
- color: white
- font-family: poxel
state:
- font-size: 90%
- color: white
- font-family: poxel
card_mod: null
style:
left: 35%
top: 79.5%
width: 24%
- type: image
entity: PLACE YOUR EV PLUG SENSOR HERE
state_image:
"off": /local/ioniqa/unplugged.png
"on": /local/ioniqa/pluggedin.png
style:
top: 43%
left: 87%
width: 11%
transform: initial
- type: image
entity: sensor.ioniq_battery_percentage_state
state_image:
"0": /local/chargeport/state-0.gif
"1": /local/chargeport/state-1.gif
"2": /local/chargeport/state-2.gif
"3": /local/chargeport/state-3.gif
"4": /local/chargeport/ioniq-state-fully-charged.png
"6": /local/chargeport/state-6.png
"7": /local/chargeport/state-7.png
"8": /local/chargeport/state-8.png
"9": /local/chargeport/state-9.png
"10": /local/chargeport/state-10.png
style:
left: 65%
top: 71%
width: 90%
- type: custom:button-card
entity: PLACE YOUR 12V BATTERY SENSOR HERE
name: 12V
show_name: false
show_icon: true
show_state: true
hold_action:
action: default
styles:
card:
- border-radius: 20px
- box-shadow: none
- background: transparent
- border: none
icon:
- color: white
- scale: 180%
- padding-top: 1px
grid:
- grid-template-areas: "\"i\" \"s\""
- grid-template-columns: 1fr
name:
- color: white
- font-family: null
state:
- font-size: 10px
- padding-top: 10px
- color: |
[[[
if (entity.state <= 50) return 'red';
else if (entity.state <= 75) return 'orange';
else if (entity.state <= 100) return 'white';
else return 'red';
]]]
card_mod:
style: |
ha-card {
box-shadow: none;
background: transparent;
}
style:
top: 21%
left: 94%
scale: 170%