-
Notifications
You must be signed in to change notification settings - Fork 0
/
customize.yaml
263 lines (253 loc) · 6.55 KB
/
customize.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
#light.*:
# custom_ui_state_card: state-card-custom-ui
#group.*:
# custom_ui_state_card: state-card-custom-ui
light.kitchen_table_light:
icon: mdi:silverware-variant
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.night_lights:
icon: mdi:hotel
friendly_name: Night Lights
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
switch.night_light:
icon: mdi:hotel
group.av_system:
custom_ui_state_card: state-card-custom-ui
icon: mdi:television-box
confirm_controls_show_lock: true
group.network_devices:
custom_ui_state_card: state-card-custom-ui
icon: mdi:access-point-network
confirm_controls_show_lock: true
switch.eb8_outlet1:
icon: mdi:playstation
light.my_bedroom:
friendly_name: Bedroom Lights
icon: mdi:hotel
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.kitchen:
friendly_name: Kitchen Lights
icon: mdi:fridge
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.kitchen_spot_lights:
friendly_name: Kitchen Spot Lights
icon: mdi:fridge
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.back_porch:
friendly_name: Back Porch
icon: mdi:home-variant
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.full_bath:
friendly_name: Bathroom
icon: mdi:shower
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.hallway:
friendly_name: Hallway
icon: mdi:home-outline
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.kitchen_sink:
friendly_name: Kitchen Sink Light
icon: mdi:fridge
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: true
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.family_room:
icon: mdi:sofa
friendly_name: Family Room Lights
custom_ui_state_card: state-card-custom-ui
state_card_mode: single-line
stretch_slider: false
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
light.back_door:
friendly_name: Backdoor
custom_ui_state_card: state-card-custom-ui
icon: mdi:home-variant
state_card_mode: single-line
stretch_slider: false
hide_control: true
slider_theme:
min: 0
max: 255
off_when_min: true
report_when_not_changed: false
climate.thermostat:
friendly_name: Honeywell Thermostat
sensor.dishwasher_status:
friendly_name: Dishwasher
custom_ui_state_card: state-card-custom-ui
icon: mdi:silverware
extra_badge:
entity_id: sensor.dishwasher_watts
sensor.washer_status:
friendly_name: Washer
custom_ui_state_card: state-card-custom-ui
icon: mdi:washing-machine
extra_badge:
entity_id: sensor.washer_watts
sensor.dryer_status:
friendly_name: Dryer
custom_ui_state_card: state-card-custom-ui
icon: mdi:tumble-dryer
extra_badge:
entity_id: sensor.washer_watts
sensor.dark_sky_temperature:
friendly_name: Temperature Outside
sensor.dark_sky_humidity:
friendly_name: Humidity Outside
sensor.dark_sky_daily_high_temperature:
friendly_name: Daily High Temperature
sensor.home_to_downtown:
icon: mdi:car
custom_ui_state_card: state-card-custom-ui
templates:
theme: >-
var v = parseInt(entities['sensor.home_to_downtown'].state);
return v > 50 ? 'card-critical'
: v > 30 ? 'card-warning'
: null;
sensor.home_to_work:
icon: mdi:car
custom_ui_state_card: state-card-custom-ui
templates:
theme: >-
var v = parseInt(entities['sensor.home_to_work'].state);
return v > 50 ? 'card-critical'
: v > 30 ? 'card-warning'
: null;
sensor.downtown_to_home:
icon: mdi:car
custom_ui_state_card: state-card-custom-ui
templates:
theme: >-
var v = parseInt(entities['sensor.downtown_to_home'].state);
return v > 50 ? 'card-critical'
: v > 30 ? 'card-warning'
: null;
sensor.work_to_home:
icon: mdi:car
custom_ui_state_card: state-card-custom-ui
templates:
theme: >-
var v = parseInt(entities['sensor.work_to_home'].state);
return v > 50 ? 'card-critical'
: v > 30 ? 'card-warning'
: null;
#
# Sensors: System
#
sensor.processor_use:
friendly_name: CPU Load
custom_ui_state_card: state-card-custom-ui
icon: mdi:chip
extra_data_template: >-
return
entities['sensor.average_load'].state + ' ' +
'(' + entities['sensor.cpu_cores'].state + ' cores)';
sensor.disk_use_percent:
custom_ui_state_card: state-card-custom-ui
extra_data_template: >-
return
Math.round(parseFloat(entities['sensor.disk_free_home'].state)) + ' ' +
entities['sensor.disk_free_home'].attributes['unit_of_measurement'] +
' available';
sensor.ipv4_address_eth0:
custom_ui_state_card: state-card-custom-ui
friendly_name: Local IP Address
sensor.memory_use_percent:
custom_ui_state_card: state-card-custom-ui
extra_data_template: >-
return
Math.round(parseFloat(entities['sensor.memory_free'].state)) + ' ' +
entities['sensor.memory_free'].attributes['unit_of_measurement'] +
' available';
sensor.uptime_os:
icon: mdi:pi
#
# Switches
#
switch.dehumidifier:
custom_ui_state_card: state-card-custom-ui
icon: mdi:water-off
confirm_controls_show_lock: true
#
# Updater
#
updater.updater:
custom_ui_state_card: state-card-custom-ui
extra_data_template: >-
Current version: ${entities['sensor.current_version'].state}