-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathminiwasher-card.yaml
118 lines (117 loc) · 3.22 KB
/
miniwasher-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
type: vertical-stack
cards:
- type: picture-elements
elements:
- type: image
entity: sensor.mini_washer_dryer_run_state
image: /local/lg-icons/sensing.png
state_image:
Detecting: /local/lg-icons/sensing-on.png
style:
top: 33%
left: 33%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.mini_washer_run_state
image: /local/lg-icons/wash.png
state_image:
Washing: /local/lg-icons/wash-on.png
style:
top: 33%
left: 51%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.mini_washer_run_state
image: /local/lg-icons/rinse.png
state_image:
Rinsing: /local/lg-icons/rinse-on.png
style:
top: 33%
left: 69%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.mini_washer_run_state
image: /local/lg-icons/spin.png
state_image:
Spinning: /local/lg-icons/spin-on.png
style:
top: 33%
left: 87%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.mini_washer
image: /local/lg-icons/wifi.png
state_image:
'on': /local/lg-icons/wifi-on.png
style:
top: 73%
left: 32%
width: 10%
image-rendering: crisp
- type: image
entity: sensor.mini_washer_door_lock
image: /local/lg-icons/lock.png
state_image:
'on': /local/lg-icons/lock-on.png
style:
top: 73%
left: 45%
width: 10%
image-rendering: crisp
- type: state-label
entity: sensor.blank
prefix: '18:88'
style:
color: '#555'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: translate(-100%,-50%)
- type: state-label
entity: sensor.mini_washer_time_display
style:
color: '#8df427'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: translate(-100%,-50%)
image: /local/hass-mini-washer-card-bg.png
- type: conditional
conditions:
- entity: sensor.mini_washer_run_state
state_not: '-'
card:
type: entities
entities:
- entity: sensor.mini_washer
type: attribute
attribute: water_temp
name: Water Temperature
icon: mdi:coolant-temperature
- entity: sensor.mini_washer
type: attribute
attribute: spin_speed
name: Spin Speed
icon: mdi:rotate-right
- entity: sensor.mini_washer
type: attribute
attribute: current_course
name: Current Program
icon: mdi:air-filter
- entity: sensor.mini_washer
type: attribute
attribute: run_state
name: Current State
icon: mdi:archive
- entity: sensor.mini_washer
type: attribute
attribute: tubclean_count
name: Washes Since Tub Clean
icon: mdi:creation
state_color: false