-
Notifications
You must be signed in to change notification settings - Fork 3
/
configuration.yaml
728 lines (682 loc) · 16.9 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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
homeassistant:
# Name of the location where Home Assistant is running
#name: Home
# Location required to calculate the time the sun rises and sets
#latitude: !secret latitude
#longitude: !secret longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
#elevation: 279
# metric for Metric, imperial for Imperial
#unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
#time_zone: America/Chicago
# Customization file
customize: !include customize.yaml
allowlist_external_dirs:
- /config
hacs:
token: !secret hacs_github
appdaemon: True
system_health:
mobile_app:
logger:
default: error
# Enables the frontend
frontend:
themes: !include themes.yaml
lovelace:
mode: yaml
resources:
#HACS Resources (Updated Automatically)
- url: /hacsfiles/kiosk-mode/kiosk-mode.js
type: module
- url: /hacsfiles/lovelace-swipe-navigation/swipe-navigation.js
type: module
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/text-element/text-element.js
type: module
- url: /hacsfiles/lovelace-gap-card/gap-card.js
type: module
- url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/zha-network-card/zha-network-card.js
type: module
- url: /hacsfiles/Home-Assistant-Lovelace-HTML-Jinja2-Template-card/html-template-card.js
type: module
- url: /hacsfiles/bignumber-card/bignumber-card.js
type: module
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
#Non-HACS Resources
- url: /local/custom-lovelace/weather-card/dark-sky-weather-card.js?v=7.4
type: module
- url: 'https://fonts.googleapis.com/css?family=Lato'
type: css
- url: /local/custom-lovelace/font.css?v=3
type: css
- url: /local/custom-lovelace/card-templater/lovelace-card-templater.js?v=0.0.2
type: module
dashboards:
ui-morgan:
mode: yaml
filename: ui-morgan.yaml
title: Morgan
icon: mdi:human-female
show_in_sidebar: true
require_admin: false
# Enables configuration UI
config:
google_assistant:
project_id: home-assistant-227322
service_account: !include service-account.json
report_state: true
exposed_domains:
- switch
- light
- input_boolean
- input_select
- script
entity_config:
light.sink_1:
expose: false
light.sink_2:
expose: false
light.table_1:
expose: false
light.table_2:
expose: false
light.table_3:
expose: false
light.garage_1:
expose: false
light.garage_2:
expose: false
light.theater_1:
expose: false
light.theater_2:
expose: false
light.theater_3:
expose: false
light.entry_1:
expose: false
light.entry_2:
expose: false
light.entry_3:
expose: false
light.morgan_fun_1:
expose: false
light.morgan_fun_2:
expose: false
light.morgan_fun_3:
expose: false
light.morgan_fun_4:
expose: false
light.morgan_fun_5:
expose: false
light.basement_can_1:
expose: false
light.basement_can_2:
expose: false
light.basement_can_3:
expose: false
light.basement_can_4:
expose: false
light.basement_can_5:
expose: false
light.morgan_s_fun_lamp_group:
expose: false
light.morgankiosk:
expose: false
light.bottom_of_stairs_blue_led:
expose: false
light.bottom_of_stairs_green_led:
expose: false
light.bottom_of_stairs_red_led:
expose: false
light.entry_blue_led:
expose: false
light.entry_green_led:
expose: false
light.entry_red_led:
expose: false
light.top_of_stairs_blue_led:
expose: false
light.top_of_stairs_green_led:
expose: false
light.top_of_stairs_red_led:
expose: false
light.blue_room_switch_red_led:
expose: false
light.blue_room_switch_white_led:
expose: false
light.back_door_switch_red_led:
expose: false
light.back_door_switch_white_led:
expose: false
light.theater_switch_red_led:
expose: false
light.theater_switch_white_led:
expose: false
light.bar_blue_led:
expose: false
light.bar_green_led:
expose: false
light.bar_red_led:
expose: false
light.julie_phone:
expose: false
input_boolean.show_commute:
expose: false
input_boolean.alex_bed:
expose: false
input_boolean.alex_basement:
expose: false
input_boolean.julie_bed:
expose: false
input_boolean.alarm_clock:
expose: false
input_boolean.check_config:
expose: false
input_boolean.valid_config:
expose: false
script.cc_skip:
expose: false
script.check_config:
expose: false
script.gledopto_on_off:
expose: false
script.media_mute:
expose: false
script.xbox_play_pause:
expose: false
script.xbox_stop:
expose: false
switch.garage_opener_restart:
expose: false
switch.garage_buzzer:
expose: false
switch.outdoor_plug_2:
name: Humidifier
switch.adguard_filtering:
expose: false
switch.adguard_parental_control:
expose: false
switch.adguard_protection:
expose: false
switch.adguard_safe_browsing:
expose: false
switch.adguard_safe_search:
expose: false
light.kitchen_sink:
name: KITCHEN SINK
aliases:
- ISLAND LIGHTS
# Discover some devices automatically
discovery:
#zeroconf:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Recorder customization
recorder:
db_url: !secret db_url
purge_keep_days: 5
include:
domains:
- light
- switch
- device_tracker
- input_boolean
entities:
- cover.garage_door
- binary_sensor.front_door
- binary_sensor.garage_entry_door
- binary_sensor.upstairs_back_door
- binary_sensor.downstairs_back_door
exclude:
entities:
- light.sink_1
- light.sink_2
- light.table_1
- light.table_2
- light.table_3
- light.garage_1
- light.garage_2
- light.theater_1
- light.theater_2
- light.theater_3
- light.entry_1
- light.entry_2
- light.entry_3
- light.morgan_fun_1
- light.morgan_fun_2
- light.morgan_fun_3
- light.morgan_fun_4
- light.morgan_fun_5
- light.basement_can_1
- light.basement_can_2
- light.basement_can_3
- light.basement_can_4
- light.basement_can_5
- light.morgan_s_fun_lamp_group
- light.morgan_s_fun_lamp_zha_zha_group_0x0001
- light.morgankiosk
- light.alex_laptop
- light.alex_phone
- light.julie_phone
- switch.fire_tablet
- switch.morgan_room_control
- switch.garage_opener_restart
- input_boolean.alarm_clock
- input_boolean.alex_basement
- input_boolean.show_commute
- input_boolean.tv
- input_boolean.projector
- light.bar_blue_led
- light.bar_green_led
- light.bar_red_led
- light.bottom_of_stairs_blue_led
- light.bottom_of_stairs_green_led
- light.bottom_of_stairs_red_led
- light.entry_blue_led
- light.entry_green_led
- light.entry_red_led
- light.top_of_stairs_blue_led
- light.top_of_stairs_green_led
- light.top_of_stairs_red_led
- light.blue_room_switch_red_led
- light.blue_room_switch_white_led
- light.back_door_switch_red_led
- light.back_door_switch_white_led
- light.theater_switch_red_led
- light.theater_switch_white_led
event_types:
- service_removed
- service_executed
- platform_discovered
- feedreader
- service_registered
- call_service
- component_loaded
- logbook_entry
- system_log_event
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
#map:
# Track the sun
sun:
zwave:
usb_path: /dev/ttyUSB0
zha:
#usb_path: /dev/ttyUSB1
database_path: /config/zigbee.db
folder_watcher:
- folder: /config
patterns:
- '*.yaml'
config_check:
# Switches
# Sensors
sensor:
# Weather prediction
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
- type: load_15m
- type: processor_use
- platform: darksky
api_key: !secret darksky_api
forecast:
- 0
- 1
- 2
- 3
- 4
- 5
monitored_conditions:
- summary
- icon
- temperature
- temperature_high
- temperature_low
- apparent_temperature
- precip_probability
- precip_accumulation
- precip_intensity
- cloud_cover
scan_interval:
minutes: 5
- platform: waze_travel_time
name: "To Home"
origin: !secret work
destination: !secret home
region: 'US'
- platform: waze_travel_time
name: "To Work"
origin: !secret home
destination: !secret work
region: 'US'
# - platform: rest
# name: My Config
# resource: !secret config_url
# authentication: basic
# value_template: "{{ value_json.version }}"
# json_attributes:
# - components
# - unit_system
# - config_dir
# headers:
# Content-Type: application/json
# Authorization: !secret auth_token
# User-Agent: Home Assistant REST sensor
- platform: time_date
display_options:
- 'time'
- platform: template
sensors:
local_time:
value_template: "{{ as_local(states.sensor.time.last_changed).strftime('%-I:%M %p') }}"
rounded_temp:
value_template: "{{ states('sensor.dark_sky_temperature')|round|int }}"
unit_of_measurement: "°"
pi_temp:
value_template: "{{ '%0.0f'| format((states('sensor.rpi3_temperature')|float -32) * (5/9)) }}"
unit_of_measurement: "°"
harmony_activity:
value_template: '{{ states.remote.harmony_hub.attributes.current_activity }}'
friendly_name: 'Harmony Activity'
harmony_activity_upstairs:
value_template: '{{ states.remote.harmony_hub_upstairs.attributes.current_activity }}'
friendly_name: 'Harmony Activity Upstairs'
kitchen_motion_battery:
value_template: "{{ states.zwave.zooz_zse40_4_in_1_sensor.attributes.battery_level }}"
friendly_name: "Kitchen Motion Battery"
unit_of_measurement: '%'
- platform: min_max
type: mean
round_digits: 1
name: Downstairs Temperature
entity_ids:
- sensor.bar_button
- sensor.theater_button
- platform: min_max
type: mean
name: Upstairs Temperature
round_digits: 1
entity_ids:
- sensor.stairs_button
- platform: dnsip
- platform: mqtt
name: CPU Temperature
state_topic: "pve/cpu_temp"
value_template: "{{ value | multiply(0.001) | round(1) }}"
- platform: mqtt
name: Proxmox Updates Available
state_topic: "pve/upgrades"
- platform: mqtt
name: Ubuntu LXC Updates Available
state_topic: "ubuntu/upgrades"
- platform: mqtt
name: 11ty-dev LXC Updates Available
state_topic: "11ty-dev/upgrades"
- platform: mqtt
name: Temperature Probe 1
state_topic: "temperature/outside/grill/probe1"
unit_of_measurement: "°"
- platform: mqtt
name: Temperature Probe 2
state_topic: "temperature/outside/grill/probe2"
unit_of_measurement: "°"
- platform: mqtt
name: Temperature Probe 3
state_topic: "temperature/outside/grill/probe3"
unit_of_measurement: "°"
- platform: mqtt
name: Temperature Probe 4
state_topic: "temperature/outside/grill/probe4"
unit_of_measurement: "°"
- platform: mqtt
name: Propane Level
state_topic: "temperature/outside/grill/propane_level"
unit_of_measurement: "%"
- platform: mqtt
name: iGrill Battery Level
state_topic: "temperature/outside/grill/battery_level"
unit_of_measurement: "%"
# Text to speech
tts:
- platform: google_translate
service_name: google_say
device_tracker:
- platform: mqtt
devices:
alex: 'location/alex'
julie: 'location/julie'
proximity:
alex:
zone: home
devices:
- device_tracker.alex_mobile_app
unit_of_measurement: mi
julie:
zone: home
devices:
- device_tracker.julie_mobile_app
unit_of_measurement: mi
# Cloud
cloud:
http:
cors_allowed_origins:
- "http://192.168.0.202:8080/"
light:
- platform: group
name: Kitchen Table
entities:
- light.table_1
- light.table_2
- light.table_3
- platform: group
name: Kitchen Sink
entities:
- light.sink_1
- light.sink_2
- platform: group
name: Garage
entities:
- light.garage_1
- light.garage_2
- platform: group
name: Theater
entities:
- light.theater_1
- light.theater_2
- light.theater_3
- light.basement_can_1
- light.basement_can_2
- platform: group
name: Entry
entities:
- light.entry_1
- light.entry_2
- light.entry_3
- platform: group
name: Morgan's Fun Lamp Group
entities:
- light.morgan_fun_1
- light.morgan_fun_2
- light.morgan_fun_3
- light.morgan_fun_4
- light.morgan_fun_5
- platform: group
name: Main Room
entities:
- light.kitchen_table
- light.chandelier
- light.dining_lamp
- platform: group
name: Rec Room
entities:
- light.basement_can_3
- light.basement_can_4
- light.basement_can_5
- platform: template
lights:
morgan_fun:
friendly_name: "Morgan's Fun Lamp"
level_template: >-
{% if states.light.morgan_fun_1.attributes.brightness %}
{{states.light.morgan_fun_1.attributes.brightness | int}}
{% else %}
0
{% endif %}
value_template: >-
{% if states.light.morgan_fun_1.attributes.brightness %}
on
{% else %}
off
{% endif %}
turn_on:
event: morgan_fun
event_data:
status: "on"
turn_off:
event: morgan_fun
event_data:
status: "off"
set_level:
event: morgan_fun_level
event_data_template:
brightness: "{{ brightness }}"
media_player:
- platform: onkyo
host: !secret onkyo
name: receiver
receiver_max_volume: 91
# - platform: xboxone
# device: !secret xboxone
# name: Xbox One
telegram_bot: !secret telegram_bot
notify: !secret notify
#android_ip_webcam:
# - host: 192.168.0.118
# port: 8080
# sensors:
# - motion
remote:
- platform: harmony
name: Harmony Hub
host: !secret harmony
- platform: harmony
name: Harmony Hub Upstairs
host: !secret harmony_upstairs
rest_command:
google_backup:
url: 'http://localhost:8055/gb/doBackup'
timeout: '300'
input_boolean:
vacation_mode:
name: Vacation Mode
night_mode:
name: Night Mode
circadian_lighting:
name: Circadian Lighting
guest_mode:
name: Guest Mode
white_noise:
name: White Noise
white_noise_morgan:
name: Morgan's White Noise
show_commute:
name: Show Commute
alex_bed:
name: Alex Bed
alex_basement:
name: Alex Basement
julie_bed:
name: Julie Bed
alarm_clock:
name: Alarm Clock Triggered
tv:
name: TV
projector:
name: Projector
input_select:
front_light_mode:
name: Front Light Mode
options:
- Standard
- Christmas
- Halloween
- Independence Day
- Chiefs
morgan_lamp_mode:
name: Morgan's Lamp Mode
options:
- Standard
- Focus
- Princess
- Rainbow
- Jungle
- Ocean
- Halloween
- Christmas
- Red
basement_scene:
name: Basement Scene
options:
- None
- Blue/Gold
- Light Blue
- Red/Gold
- Red
- Gold
- Green
- Green/Gold
- Purple/Pink
- Rainbow
tree_mode:
name: Christmas Tree Mode
options:
- "Off"
- Breathe
- Color
- White
- Dim Color
- Dim White
input_number:
tablet_level:
min: 0
max: 100
tablet_battery:
min: 0
max: 100
tablet_battery_morgan:
min: 0
max: 100
input_datetime:
browser_mod:
devices:
e4e2b7ae-bf3c6a52:
name: morgankiosk
disable:
- all
stream:
breaking_changes:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml