forked from sfgabe/home_assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
executable file
·481 lines (431 loc) · 12.1 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
homeassistant:
name: !secret config_name
latitude: !secret config_lat
longitude: !secret config_long
elevation: !secret config_elev
unit_system: imperial
time_zone: !secret config_tz
customize: !include customize.yaml
customize_glob: !include customize_glob.yaml
packages: !include_dir_named packages
allowlist_external_dirs:
- /home/homeassistant/.homeassistant/scripts
- /home/homeassistant/.homeassistant/www/images/
- /home/homeassistant/.homeassistant/www/images/icons/
- /home/homeassistant/.homeassistant/www/mail_images/
- /home/homeassistant/.homeassistant/www/sounds/
- /home/homeassistant/.homeassistant/www/sounds/farts/
- /home/homeassistant/.homeassistant/downloads/
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
# themes: !include configuration_themes.yaml
# Enables configuration UI
config:
lovelace:
mode: yaml
# Include external resources only add when mode is yaml, otherwise manage in the resources in the lovelace configuration panel.
resources:
- url: /hacsfiles/lovelace-card-preloader/lovelace-card-preloader.js
type: module
- url: /local/custom_ui/dark-sky-weather-card.js?v=0.10.3
type: module
- url: /local/custom_ui/monster-card.js?v=5
type: module
- url: /local/custom_ui/color-glance-card.js?v=5
type: module
- url: /local/custom_ui/column-card.js?v=5
type: module
- url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /hacsfiles/lovelace-hui-element/hui-element.js
type: module
- url: /hacsfiles/stack-in-card/stack-in-card.js
type: module
- url: /local/custom_ui/markdown-mod.js?v=1.2
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/flex-table-card/flex-table-card.js
type: module
- url: /hacsfiles/lovelace-card-templater/lovelace-card-templater.js
type: module
- url: /local/custom_ui/auto-entities.js?v=1.0
type: module
- url: /hacsfiles/atomic-calendar-revive/atomic-calendar-revive.js
type: module
- url: /hacsfiles/light-entity-card/light-entity-card.js
type: module
- url: /hacsfiles/light-entity-row/light-entity-row.js
type: module
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/button-entity-row/button-entity-row.js
type: module
- url: /local/custom_ui/light-card.js?v=5
type: module
- url: /hacsfiles/dual-gauge-card/dual-gauge-card.js
type: module
- url: /hacsfiles/gauge-card/gauge-card.js
type: module
- url: /hacsfiles/upcoming-media-card/upcoming-media-card.js
type: module
- url: /local/custom_ui/graph-card.js?v=5
type: module
- url: https://unpkg.com/[email protected]/moment.js
type: js
- url: /hacsfiles/config-template-card/config-template-card.js
type: module
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
- url: /local/custom_ui/calendar-card.js?v=5
type: module
- url: /hacsfiles/state-attribute-element/state-attribute-element.js
type: js
- url: /hacsfiles/text-element/text-element.js
type: module
- url: /hacsfiles/travel-time-card/travel-time-card.js
type: module
- url: /local/custom_ui/tracker-card.js?v=0.1
type: module
- url: /local/custom_ui/state-element.js
type: module
- url: /local/custom_ui/flower-card.js?v=0.1
type: module
- url: /hacsfiles/roku-card/roku-card.js
type: module
- url: /hacsfiles/circle-sensor-card/circle-sensor-card.js
type: module
- url: /hacsfiles/lovelace-home-feed-card/lovelace-home-feed-card.js
type: js
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/simple-thermostat/simple-thermostat.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/radial-menu/radial-menu.js
type: module
- url: /local/custom_ui/camera-card.js?v=0.1.0
type: module
- url: /hacsfiles/lovelace-animated-background/animated-background.js
type: module
- url: /hacsfiles/lovelace-swipe-navigation/swipe-navigation.js
type: js
- url: /hacsfiles/harmony-card/harmony-card.js
type: module
- url: /hacsfiles/fitbit-card/fitbit-card.js
type: js
- url: /hacsfiles/garbage-collection-card/garbage-collection-card.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/lovelace-thermostat-card/main.js
type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/entity-attributes-card/entity-attributes-card.js
type: js
- url: /hacsfiles/kiosk-mode/kiosk-mode.js
type: module
- url: /hacsfiles/lovelace-conditional-entity-row/conditional-entity-row.js
type: module
# Add more dashboards
# dashboards:
# lovelace-generated: # Needs to contain a hyphen (-)
# mode: yaml
# filename: notexist.yaml
# title: Generated
# icon: mdi:tools
# show_in_sidebar: true
# require_admin: true
hacs:
token: !secret hacs_token
mqtt:
broker: localhost
port: 1883
username: !secret mqtt_username
password: !secret mqtt_password
discovery: true
# discovery_prefix: homeassistant
speedtestdotnet:
scan_interval:
minutes: 30
monitored_conditions:
- ping
- download
- upload
http:
ssl_key: !secret config_ssl_key
ssl_certificate: !secret config_ssl_cert
# internal_url: !secret config_internal_url
# external_url: !secret config_external_url
updater:
# Discover some devices automatically
discovery:
# Notify of breaking changes
breaking_changes:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# What to put in error logs - comment this out for debugging
logger:
default: error
logs:
# homeassistant.components: info
# homeassistant.components.sensor.rest: warning
homeassistant.components.camera.generic: critical
homeassistant.helpers.template: critical
homeassistant.core: error
mysensors: debug
# homeassistant.components.websocket_api: debug
image:
weather:
- platform: darksky
api_key: !secret darksky_api_key
mode: daily
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Text to speech
tts:
- platform: google_cloud
key_file: hass_tts_key.json
base_url: !secret config_tts_base_url
service_name: google_translate_say
cache: true
cache_dir: /home/homeassistant/.homeassistant/tts
time_memory: 300
# language: en-US
voice: en-US-Wavenet-F
encoding: mp3
speed: 1.2
pitch: -2.0
gain: 0.0
profiles:
- large-home-entertainment-class-device
browser_mod:
prefix: "browser_"
devices:
8824fbbc_0ef10c06:
name: browser_gabes_mate
7c7b6ea9-a0a3d9e6:
name: browser_gabes_macbook
fb4e04e9-2f0affc3:
name: browser_note_kiosk
5c2aa88a-e7e0a9be:
name: browser_tablet_kiosk
# Cloud
cloud:
#mobile app
mobile_app:
# nextcloud:
# url: !secret nextcloud_url
# username: !secret nextcloud_username
# password: !secret nextcloud_app_password
#Roomba / add on web
#vacuum:
# - platform: roomba
# host: !secret roomba_hostname
# name: Roomba
# username: !secret roomba_blid
# password: ':1:1576348049:tScgKyHyeEO4zzPc'
# password: !secret roomba_password
#Alexa
#alexa:
#plex:
# token: !secret plex_token
# host: !secret plex_host
# port: 32400
# ssl: true
# verify_ssl: true
# media_player:
# use_episode_art: true
# ignore_new_shared_users: false
#IFTTT
ifttt:
key: !secret ifttt_key
twilio:
account_sid: !secret twilio_account_sid
auth_token: !secret twilio_auth_token
#NRF Sensor
mysensors:
gateways:
- device: '192.168.50.121'
persistence_file: '/home/homeassistant/.homeassistant/mysensors.json'
tcp_port: 5003
optimistic: true
persistence: true
#retain: true
version: '2.2'
#Tuya Smart Switches
tuya:
username: !secret tuya_username
password: !secret tuya_password
country_code: 1
#Homebridge for AC
homekit:
autostart: false
#OctoPrint 3D Printer
octoprint:
host: octopi.local
api_key: !secret octoprint_apikey
bed: true
number_of_tools: 2
sensors:
monitored_conditions:
- 'Current State'
- 'Job Percentage'
- 'Temperatures'
- 'Time Elapsed'
- 'Time Remaining'
# Google Calendar
google:
client_id: !secret google_client_id
client_secret: !secret google_client_secret
#Foursquare
foursquare:
access_token: !secret foursquare_access_token
push_secret: !secret foursquare_pushsecret
coinbase:
api_key: !secret coinbase_api_key
api_secret: !secret coinbase_api_secret
exchange_rate_currencies:
- BTC
- ETH
- LTC
python_script:
#hue:
# bridges:
# - host: !secret hue_bridge_ip
# allow_unreachable: true
# allow_hue_groups: true
# alexa integration
#emulated_hue: !include emulated_hue.yaml
asuswrt:
host: !secret asuswrt_host
username: !secret asuswrt_username
# password: !secret asuswrt_password
protocol: ssh
port: 1025
ssh_key: !secret asuswrt_ssh_key
sensors:
- upload
- download
- upload_speed
- download_speed
downloader:
download_dir: www/images/
shopping_list:
system_health:
## cpu speed raspberry device
- platform: cpuspeed
## system monitor raspberry device
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /
- type: disk_use_percent
arg: /var/log
- type: memory_use_percent
- type: memory_use
- type: memory_free
- type: processor_use
- type: swap_use_percent
- type: swap_use
- type: swap_free
- type: last_boot
- type: since_last_boot
## LAN Adapter
- type: network_in
arg: eth0
- type: network_out
arg: eth0
- type: packets_in
arg: eth0
- type: packets_out
arg: eth0
- type: ipv4_address
arg: eth0
- type: ipv6_address
arg: eth0
## WLAN Adapter
- type: network_in
arg: wlan0
- type: network_out
arg: wlan0
- type: packets_in
arg: wlan0
- type: packets_out
arg: wlan0
- type: ipv4_address
arg: wlan0
- type: ipv6_address
arg: wlan0
#pihole
#pi_hole:
# - host: !secret pihole_host
# api_key: !secret pihole_apikey
# ssl: true
# verify_ssl: false
#for cameras
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
stream:
#esphome:
# name: bedroom
# platform: ESP8266
# board: nodemcuv2
#sonoff:
# username: !secret sonoff_username
# password: !secret sonoff_password
# scan_interval: 60
# grace_period: 600
# debug: true
#gpodder:
# username: !secret gpodder_udername
# password: !secret gpodder_password
# sensor:
# - enabled: true
# name: homeassistant
# device: kiosk
#feedreader:
# urls:
# - https://twitrss.me/twitter_user_to_rss/?user=octo_cam_bot
# - https://twitrss.me/twitter_user_to_rss/?user=sfgabe
# scan_interval:
# minutes: 20
# max_entries: 1
input_text: !include input_text.yaml
geo_location: !include geolocation.yaml
media_player: !include media_player.yaml
notify: !include notify.yaml
logbook: !include logbook.yaml
recorder: !include recorder.yaml
plant: !include plants.yaml
scene: !include scenes.yaml
zone: !include zone.yaml
input_datetime: !include input_datetime.yaml
input_boolean: !include input_boolean.yaml
input_number: !include input_number.yaml
input_select: !include input_select.yaml
# history_graph: !include history_graph.yaml
climate: !include climate.yaml
rest_command: !include rest_command.yaml
device_tracker: !include device_tracker.yaml
switch: !include switches.yaml
camera: !include cameras.yaml
sensor: !include sensors.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
shell_command: !include shell_commands.yaml
intent_script: !include intent_script.yaml
binary_sensor: !include binary_sensor.yaml
light: !include light.yaml