forked from phrz/lg-washer-dryer-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dryer-card.yaml
76 lines (76 loc) · 1.91 KB
/
dryer-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
type: vertical-stack
cards:
- type: picture-elements
elements:
- type: image
entity: sensor.dryer_run_state
image: /local/lg-icons/dry.png
state_image:
Drying: /local/lg-icons/dry-on.png
style:
top: 33%
left: 69%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.dryer_run_state
image: /local/lg-icons/cool.png
state_image:
Cooling: /local/lg-icons/cool-on.png
style:
top: 33%
left: 87%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.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: 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.dryer_time_display
style:
color: '#8df427'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: 'translate(-100%,-50%)'
image: /local/hass-dryer-card-bg.png
- type: conditional
conditions:
- entity: sensor.dryer_run_state
state_not: '-'
card:
type: entities
entities:
- entity: sensor.dryer
type: attribute
attribute: current_course
name: Current Course
icon: 'mdi:tune-vertical-variant'
- entity: sensor.dryer
type: attribute
attribute: temp_control
name: Temperature Control
icon: 'mdi:thermometer'
- entity: sensor.dryer
type: attribute
attribute: dry_level
name: Dry Level
icon: 'mdi:air-filter'