-
Notifications
You must be signed in to change notification settings - Fork 56
/
fridge.yaml
65 lines (65 loc) · 1.63 KB
/
fridge.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
type: picture-elements
elements:
- type: image
tap_action:
action: toggle
entity: switch.refrigerator_express_mode
image: /local/lg-icons/express-freeze-for-fridge-off.png
state_image:
'on': /local/lg-icons/express-freeze-for-fridge-on.png
style:
top: 74%
left: 55%
width: 10%
image-rendering: crisp
- type: image
tap_action:
action: toggle
entity: switch.refrigerator_express_fridge
image: /local/lg-icons/express-cool-for-fridge-off.png
state_image:
'on': /local/lg-icons/express-cool-for-fridge-on.png
style:
top: 35%
left: 55%
width: 10%
image-rendering: crisp
- type: image
entity: sensor.refrigerator
image: /local/lg-icons/wifi.png
state_image:
'on': /local/lg-icons/wifi-on.png
style:
top: 74%
left: 36%
width: 10%
image-rendering: crisp
- type: image
entity: binary_sensor.refrigerator_door_open
image: /local/lg-icons/fridge-closed.png
state_image:
'on': /local/lg-icons/fridge-open.png
style:
top: 35%
left: 36%
width: 10%
image-rendering: crisp
- type: state-label
entity: sensor.refrigerator_fridge_temp
style:
color: '#f5f5f5'
font-family: segment7
font-size: 50px
left: 96%
top: 35%
transform: translate(-100%,-50%)
- type: state-label
entity: sensor.refrigerator_freezer_temp
style:
color: '#f5f5f5'
font-family: segment7
font-size: 50px
left: 96%
top: 74%
transform: translate(-100%,-50%)
image: /local/hass-dd-fridge-silver-steel-card-bg.png