-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
376 lines (334 loc) · 9.64 KB
/
configuration.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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
homeassistant:
name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
elevation: !secret home_elevation
unit_system: !secret home_unit_system
temperature_unit: !secret home_temperature_unit
time_zone: !secret home_timezone
currency: !secret home_currency
external_url: !secret external_url
internal_url: !secret internal_url
country: !secret home_country
customize: !include customize.yaml
allowlist_external_dirs:
- /config/json/
zone:
- name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
radius: 100
icon: mdi:home
config:
conversation:
frontend:
themes: !include_dir_merge_named themes/
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
system_health:
my:
# updater:
http:
# Uncomment this to add a password (recommended!)
# api_password: !secret api_password
# Uncomment this if you are using SSL or running in Docker etc
# ssl_certificate: !secret ssl_certificate
# ssl_key: !secret ssl_key
use_x_forwarded_for: true
trusted_proxies:
- !secret trusted_proxy_ip_lan
- !secret trusted_proxy_ip_iot
- !secret trusted_proxy_ip_virtual_ip
# ip_ban_enabled: true
# login_attempts_threshold: 3
recorder:
purge_keep_days: 5
# db_url: !secret recorder_db_url
history:
logbook:
include:
domains:
- automation
- cover
- device_tracker
- logbook
- script
- switch
lovelace:
mode: yaml
resources:
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /browser_mod.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
- url: /hacsfiles/lovelace-template-entity-row/template-entity-row.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/Homekit-panel-card/homekit-panel-card.js
type: module
- url: /webrtc/webrtc-camera.js
type: module
- url: /hacsfiles/kiosk-mode/kiosk-mode.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /local/dwains-theme/plugins/dwains-flexbox-card/dwains-flexbox-card.js
type: module
- url: /local/dashboard/fonts.css
type: css
dashboards:
lovelace-dashboard:
mode: yaml
filename: ui-dashboard.yaml
title: Dashboard
icon: mdi:tablet-dashboard
show_in_sidebar: true
require_admin: false
# neato:
# client_id: neato_client_id
# client_secret: neato_client_secret
influxdb:
host: !secret influxdb_host
port: !secret influxdb_port
database: !secret influxdb_database
include:
entities:
- sensor.average_humidity
- sensor.average_temperature
- sensor.dark_sky_humidity
- sensor.dark_sky_precip_probability
- sensor.dark_sky_temperature
- sensor.den_multisensor_luminance
- sensor.den_multisensor_relative_humidity
- sensor.den_multisensor_temperature
- sensor.bedroom_closet_trisensor_luminance
- sensor.bedroom_closet_trisensor_temperature
- sensor.downstairs_hallway_trisensor_luminance
- sensor.downstairs_hallway_trisensor_temperature
- sensor.garage_stairs_multisensor_luminance
- sensor.garage_stairs_multisensor_relative_humidity
- sensor.garage_stairs_multisensor_temperature
- sensor.main_stairs_multisensor_luminance
- sensor.main_stairs_multisensor_relative_humidity
- sensor.main_stairs_multisensor_temperature
- sensor.downstairs_thermostat_humidity
- sensor.downstairs_thermostat_target
- sensor.downstairs_thermostat_temperature
- sensor.upstairs_thermostat_humidity
- sensor.upstairs_thermostat_target
- sensor.upstairs_thermostat_temperature
- sensor.server_rack_ups_battery_charge
sun:
energy:
utility_meter:
grid_consumption_hourly:
source: sensor.energy_usage_kwh
name: Grid Consumption - Hourly
cycle: hourly
tariffs:
- peak
- offpeak
grid_consumption_daily:
source: sensor.energy_usage_kwh
name: Grid Consumption - Daily
cycle: daily
tariffs:
- peak
- offpeak
grid_consumption_monthly:
source: sensor.energy_usage_kwh
name: Grid Consumption - Monthly
cycle: monthly
tariffs:
- peak
- offpeak
emulated_hue:
host_ip: !secret emulated_hue_host
listen_port: !secret emulated_hue_port
expose_by_default: false
lights_all_dimmable: true
entities:
light.bedroom:
hidden: false
light.kitchen:
hidden: false
light.bedroom_tiles:
hidden: false
light.bedroom_closet:
hidden: false
light.bedroom_hallway:
hidden: false
light.den_cabinets:
hidden: false
light.den_hallway:
hidden: false
light.den:
hidden: false
light.downstairs_hallway:
hidden: false
light.garage:
hidden: false
light.garage_stairs:
hidden: false
light.guest_bedroom_closet:
hidden: false
light.laundry:
hidden: false
light.living_room:
hidden: false
light.main_stairs:
hidden: false
light.patio:
hidden: false
light.downstairs_patio_string:
hidden: false
light.living_room_tv:
hidden: false
light.upstairs_hallway_group:
hidden: false
light.upstairs_hallway:
hidden: false
light.downstairs_patio:
hidden: false
light.upstairs_patio:
hidden: false
light.upstairs_patio_string:
hidden: false
light.rec_room:
hidden: false
light.rec_room_canvas:
hidden: false
input_boolean.mode_guest:
hidden: false
input_boolean.mode_home_theater:
hidden: false
input_boolean.mode_sleep:
hidden: false
script.scene_bedroom_alarm_dismissed:
hidden: false
# device_tracker:
# - platform: automatic
# client_id: !secret automatic_client_id
# secret: !secret automatic_secret
# current_location: true
# devices:
# - 2007 Honda Element
# - platform: owntracks
# max_gps_accuracy: 200
# track_new_devices: false
# mqtt:
# broker: !secret mqtt_remote_host
# port: !secret mqtt_remote_port
# client_id: !secret mqtt_remote_client_id
# keepalive: 60
# username: !secret mqtt_remote_username
# password: !secret mqtt_remote_password
geofency:
mobile_beacons:
- Octavia
cover:
- platform: template
covers:
garage_actual:
friendly_name: "Garage Actual"
value_template: "{{ is_state('binary_sensor.garage_actual', 'on') }}"
open_cover:
service: switch.turn_on
data:
entity_id: switch.garage_actual
close_cover:
service: switch.turn_on
data:
entity_id: switch.garage_actual
stop_cover:
service: switch.turn_on
data:
entity_id: switch.garage_actual
icon_template: >-
{% if is_state('binary_sensor.garage_actual', 'on') %}
mdi:garage-open-variant
{% else %}
mdi:garage-variant
{% endif %}
homekit:
# auto_start: false
ip_address: !secret homekit_ip_address
filter:
include_domains:
- climate
- cover
- light
include_entities:
- binary_sensor.bedroom_windows
- binary_sensor.den_door
- binary_sensor.den_windows
- binary_sensor.front_door
- binary_sensor.garage_door
- binary_sensor.guest_bedroom_windows
- binary_sensor.kitchen_windows
- binary_sensor.living_room_windows
- binary_sensor.patio_door
- binary_sensor.rec_room_windows
- binary_sensor.den_multisensor_sensor
- binary_sensor.bedroom_closet_trisensor_sensor
- binary_sensor.downstairs_hallway_trisensor_sensor
- binary_sensor.garage_motion_sensor
- binary_sensor.garage_stairs_multisensor_sensor
- binary_sensor.living_room_motion_sensor
- binary_sensor.main_stairs_multisensor_sensor
- binary_sensor.upstairs_hallway_motion_sensor
- fan.bedroom
- fan.kitchen
- input_boolean.mode_guest
- input_boolean.mode_home_theater
- input_boolean.mode_sleep
- remote.living_room_apple_tv
- sensor.bedroom_nitrogen_dioxide
- sensor.bedroom_pm_10
- sensor.bedroom_pm_2_5
- sensor.bedroom_volatile_organic_compounds
- sensor.kitchen_nitrogen_dioxide
- sensor.kitchen_pm_10
- sensor.kitchen_pm_2_5
- sensor.kitchen_volatile_organic_compounds
- sensor.downstairs_thermostat_humidity
- sensor.upstairs_thermostat_humidity
exclude_entities:
- light.patio
- light.downstairs_patio
- light.den
- light.den_cabinets
- light.bedroom
- light.patio_string
- light.upstairs_hallway_group
- light.upstairs_patio
mobile_app:
# Disabled Features ##########################################
# introduction:
# discovery:
# ssdp:
# zeroconf:
# tts:
# platform: google
# Includes ###################################################
automation: !include_dir_merge_list automation/
binary_sensor: !include binary_sensor.yaml
group: !include group.yaml
input_boolean: !include input_boolean.yaml
input_number: !include input_number.yaml
input_select: !include input_select.yaml
input_text: !include input_text.yaml
media_player: !include media_player.yaml
rest_command: !include rest_command.yaml
scene: !include scene.yaml
script: !include_dir_merge_named script/
sensor: !include sensor.yaml
shell_command: !include shell_command.yaml
template: !include_dir_merge_list template/