-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathback-view-ioniq5-n.yaml
171 lines (171 loc) · 4.14 KB
/
back-view-ioniq5-n.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
type: picture-elements
image: /local/ioniqna/ioniq5-back.png
elements:
- type: image
entity: sensor.ioniq_5_data
image: /local/ioniqna/ioniq5-back.png
style:
left: 50%
top: 50%
width: 100%
- type: image
entity: sensor.ioniq_battery_dots
tap_action:
action: none
image: /local/ioniq2/centre-squares.png
state_image:
"10": /local/ioniqna/10.png
"20": /local/ioniqna/20.png
"30": /local/ioniqna/30.png
"40": /local/ioniqna/40.png
"50": /local/ioniqna/50.png
"60": /local/ioniqna/60.png
"70": /local/ioniqna/70.png
"80": /local/ioniqna/80.png
"90": /local/ioniqna/90.png
"100": /local/ioniqna/100.png
style:
left: 50%
top: 50%
width: 100%
heigth: 100%
style: |
ha-card {
box-shadow: none;
}
- type: image
entity: binary_sensor.ioniq_5_engine
tap_action:
action: none
image: /local/ioniqa/night-light.png
state_image:
"on": /local/ioniqna/night-light-on.png
style:
left: 50%
top: 50%
width: 100%
heigth: 100%
- type: image
entity: device_tracker.ioniq5_device_tracker
image: /local/ioniqna/backpanel.png
style:
left: 50%
top: 50%
width: 100%
heigth: 100%
- type: image
entity: binary_sensor.ioniq_5_ev_battery_charge
tap_action:
action: none
image: /local/ioniqa/brake-light.png
state_image:
"on": /local/ioniqna/brake-light-on.png
"off": /local/ioniqa/brake-light.png
style:
left: 50%
top: 50%
width: 100%
heigth: 100%
- type: custom:button-card
entity: sensor.ioniq_5_ev_range
color: auto
size: 20%
name: GuessOmeter
show_name: false
show_state: true
show_icon: false
hold_action:
action: default
styles:
card:
- aspect-ratio: 4/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: 49%
top: 77%
width: 30%
- type: image
entity: binary_sensor.ioniq_5_ev_battery_plug
state_image:
"off": /local/ioniqna/unplugged.png
"on": /local/ioniqna/pluggedin.png
style:
top: 31%
left: 88%
width: 11%
transform: initial
- type: custom:button-card
entity: ioniq_5_smart_key_battery_warning
icon: phu:car-fob
size: 100%
show_name: false
show_icon: true
show_state: false
hold_action:
action: default
styles:
card:
- aspect-ratio: 1/1
- border-radius: 20px
- size: 00%
- box-shadow: none
- background: transparent
grid:
- grid-template-columns: 1fr
- grid-template-areas: "\" i n s\" \" i n s\" \" i n s\""
icon:
- color: green
state:
- value: "on"
styles:
card:
- aspect-ratio: 1/1
- border-radius: 20px
- size: 00%
grid:
- grid-template-columns: 1fr
- grid-template-areas: "\" i n s\" \" i n s\" \" i n s\""
icon:
- color: red
card_mod:
class: hki
style: |
ha-card {
box-shadow: none;
background: transparent;
}
style:
top: 13%
left: 8%
width: 20%
- 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: 56%
top: 50%
width: 80%