-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathappliances.yaml
139 lines (137 loc) · 4.63 KB
/
appliances.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
title: "Appliances"
path: appliances
visible: false
icon: "mdi:dishwasher"
cards:
- type: custom:stack-in-card
mode: vertical
keep:
box_shadow: true
margin: true
border_radius: true
background: true
outer_padding: true
style: |
ha-card {
background-color: rgba(var(--color-red),0.7);
border-radius: var(--border-radius);
}
cards:
- type: "custom:layout-card"
layout_type: grid
layout:
grid-template-columns: 24% 76%
margin: 0px 0px 0px 0px
cards:
- type: custom:stack-in-card
mode: vertical
keep:
box_shadow: false
margin: false
border_radius: true
background: false
outer_padding: false
style: |
ha-card {
background-color: rgba(var(--color-red-bg),1.0);
border-radius: var(--border-radius-bar);
box-shadow: none;
}
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: chip_back
variables:
ulm_chip_back_path: /ui-lovelace-minimalist/settings
- type: 'custom:button-card'
template: chip_navigate
variables:
ulm_chip_navigate_path: /ui-lovelace-minimalist/home
ulm_chip_navigate_icon: mdi:home
- type: custom:stack-in-card
mode: vertical
keep:
box_shadow: false
margin: false
border_radius: true
background: false
outer_padding: false
style: |
ha-card {
background-color: rgba(var(--color-red-bg),1.0);
border-radius: var(--border-radius);
box-shadow: none;
}
cards:
- type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: group.all_appliances
state: "on"
card:
type: "custom:button-card"
template: chip_mdi_icon_state_nb
variables:
ulm_chip_mdi_icon_state_entity: sensor.current_appliances
ulm_chip_mdi_icon_state_icon: mdi:power
- type: "custom:button-card"
template: chip_mdi_icon_state_nb
variables:
ulm_chip_mdi_icon_state_entity: sensor.appliances_power
ulm_chip_mdi_icon_state_icon: mdi:power-socket-au
- type: "custom:button-card"
template: chip_mdi_icon_state_nb
variables:
ulm_chip_mdi_icon_state_entity: sensor.appliances_energy
ulm_chip_mdi_icon_state_icon: mdi:lightning-bolt
- type: "custom:button-card"
template:
- "card_title_icon"
name: "Appliances"
variables:
ulm_card_navigate_title: Appliances
ulm_card_navigate_icon: mdi:dishwasher
icon_color: red
background_color: red-bg
- type: "custom:button-card"
template: "card_title_fixed_small"
name: "Kitchen"
- type: horizontal-stack
cards:
- type: "custom:button-card"
template:
- "card_input_boolean"
- "notification_alert"
- "red_on"
- "ulm_language_variables"
entity: input_boolean.coffee_machine
variables:
alert_entity: input_select.coffee_machine_status
tap_action:
action: "toggle"
name: "Coffee Machine"
- type: "custom:button-card"
template:
- "card_input_boolean"
- "notification_alert"
- "green_on"
- "ulm_language_variables"
entity: binary_sensor.dishwasher
variables:
alert_entity: sensor.dishwasher
name: "Dishwasher"
tap_action:
action: "none"
- type: "custom:button-card"
template: "card_title_fixed_small"
name: "Laundry"
- type: 'custom:button-card'
template:
- "custom_washer_lg_smartthinq"
variables:
ulm_custom_washer_grid_machine_state: sensor.washer_dryer
ulm_custom_washer_grid_job_state: sensor.washer_run_state
ulm_custom_washer_grid_completion_timestamp: sensor.washer_dryer_remain_time
alert_entity: sensor.washing_machine