forked from phrz/lg-washer-dryer-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
washercombo-card.yaml
140 lines (139 loc) · 3.83 KB
/
washercombo-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
type: vertical-stack
cards:
- type: picture-elements
elements:
- type: image
entity: sensor.washer_dryer_run_state
image: /local/lg-icons/dry.png
state_image:
Drying: /local/lg-icons/dry-on.png
style:
top: 73%
left: 59%
width: 10%
image-rendering: crisp
- type: image
entity: sensor.washer_dryer_run_state
image: /local/lg-icons/cool.png
state_image:
Cooling: /local/lg-icons/cool-on.png
style:
top: 73%
left: 67%
width: 10%
image-rendering: crisp
- type: image
entity: sensor.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.washer_dryer_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.washer_dryer_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.washer_dryer_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.washer_dryer
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.washer_dryer_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.washer_dryer_time_display
style:
color: '#8df427'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: translate(-100%,-50%)
image: /local/hass-combo-card-bg.png
- type: conditional
conditions:
- entity: sensor.washer_dryer_run_state
state_not: '-'
- entity: sensor.washer_dryer_run_state
state_not: Standby
card:
type: entities
entities:
- entity: sensor.washer_dryer
type: attribute
attribute: water_temp
name: Water Temperature
icon: mdi:coolant-temperature
- entity: sensor.washer_dryer
type: attribute
attribute: spin_speed
name: Spin Speed
icon: mdi:rotate-right
- entity: sensor.washer_dryer
type: attribute
attribute: dry_level
name: Dry Level
icon: mdi:air-filter
- entity: sensor.washer_dryer
type: attribute
attribute: run_state
name: Current State
icon: mdi:archive
- entity: sensor.washer_dryer
type: attribute
attribute: tubclean_count
name: Washes Since Tub Clean
icon: mdi:creation
state_color: false