-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
263 lines (234 loc) · 6.45 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
homeassistant:
# Name of the location where Home Assistant is running
name: Stenman
external_url: !secret external_url
internal_url: !secret internal_url
# Location required to calculate the time the sun rises and sets
latitude: !secret home_latitude
longitude: !secret home_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret home_elevation
country: SE
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Stockholm
# Customization file
customize: !include customize.yaml
# Local media directory
media_dirs:
music: /media/music
audiobooks: /media/audiobooks
local_media: /config/media
auth_providers:
- type: homeassistant
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
lovelace:
mode: yaml
resources:
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/vacuum-card/vacuum-card.js
type: module
- url: /hacsfiles/zha-network-card/zha-network-card.js
type: module
- url: /hacsfiles/lovelace-horizon-card/lovelace-horizon-card.js
type: module
- url: /hacsfiles/timer-bar-card/timer-bar-card.js
type: module
- url: /hacsfiles/hass-hue-icons/hass-hue-icons.js
type: module
- url: /hacsfiles/list-card/list-card.js
type: module
- url: /hacsfiles/upcoming-media-card/upcoming-media-card.js
type: module
- url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
type: module
- url: /hacsfiles/lovelace-hourly-weather/hourly-weather.js
type: module
# Enables configuration UI
config:
http:
use_x_forwarded_for: true
trusted_proxies: 172.0.0.0/8
python_script:
# Enables support for tracking state changes over time
history:
# Enables my Home Assistant integration
my:
# View events in a logbook
logbook:
exclude:
entities:
- sensor.time
- sensor.date
- sensor.date_time
- sensor.ups_status_date
recorder:
purge_keep_days: 5
exclude:
entities:
- sensor.time
- sensor.date
- sensor.date_time
- sensor.ups_status_date
logger:
logs:
homeassistant.components.glances: fatal
homeassistant.components.steam_online: error
homeassistant.components.volvooncall: error
homeassistant.components.esphome: error
homeassistant.components.hue: fatal
homeassistant.components.plex.server: fatal
homeassistant.components.python_script: error
homeassistant.components.qbittorrent: fatal
custom_components.trakt: error
glances_api: fatal
volvooncall.volvooncall: error
zigpy.ota.image: error
plexwebsocket: fatal
plexapi: fatal
# Track the sun
sun:
# System health
system_health:
# iOS app
mobile_app:
# Text to speech
tts:
- platform: google_translate
language: 'sv'
conversation:
wake_on_lan:
stream:
calendar:
- platform: caldav
username: !secret icloud_email
password: !secret icloud_password
url: https://caldav.icloud.com
calendars:
- Family
################# ZHA #################
# zha:
# zigpy_config:
# ota:
# ikea_provider: true
# custom_quirks_path: /config/custom_quirks
################# DOCKER MONITOR #################
monitor_docker:
- containers:
- code-server
- code-server-ha
- duplicati
- glances
- home-assistant
- mariadb
- nextcloud
- pihole
- PlexMediaServer
- qbittorrentvpn
- resilio-sync
- unifi-controller
- frigate
- authelia
- traefik
- redis
- WordPress
- wyoming-piper
- wyoming-whisper
- ApacheGuacamole
- ESPHome
rename:
code-server: Code Server appdata
code-server-ha: Code Server HA
duplicati: Duplicati
glances: Glances
home-assistant: Home Assistant
mariadb: MariaDB
nextcloud: Nextcloud
pihole: Pi-hole
qbittorrentvpn: qBittorrent VPN
resilio-sync: Resilio Sync
unifi-controller: UniFi Controller
frigate: Frigate
authelia: Authelia
traefik: Traefik
redis: Redis
wyoming-piper: Wyoming Piper
wyoming-whisper: Wyoming Whisper
apacheguacamole: Apache Guacamole
monitored_conditions:
- version
- containers_total
- containers_running
- containers_paused
- containers_stopped
- containers_1cpu_percentage
- containers_memory
- state
- uptime
- 1cpu_percentage
- memory
- network_speed_up
- network_speed_down
- network_total_up
- network_total_down
sensorname: "{sensor}"
################# MEDIA PLAYERS #################
# media_player:
# - platform: kodi
# host: !secret kodi_ip
# port: 80
# username: osmc
# password: !secret kodi_password
# turn_off_action:
# action: kodi.call_method
# data:
# entity_id: media_player.kodi
# method: System.Reboot
# sonos:
# media_player:
# advertise_addr: !secret oden_ip
# hosts:
# - !secret kitchen_sonos_ip
# - !secret livingroom_sonos_ip
# - !secret childroom_sonos_ip
# Local media source
media_source:
panel_custom:
- name: panel-redirect
# url_path needs to be unique for each panel_custom config
url_path: redirect-logs
sidebar_title: Logg
sidebar_icon: mdi:math-log
module_url: /local/panel-redirect.js
config:
# Where you want to redirect to
target: /config/logs
################# INCLUDE #################
script: !include_dir_merge_named scripts/
automation: !include_dir_merge_list automations/
group: !include groups.yaml
sensor: !include sensors.yaml
binary_sensor: !include binary_sensors.yaml
input_number: !include input_numbers.yaml
input_boolean: !include input_boolean.yaml
input_text: !include input_text.yaml
switch: !include switches.yaml
light: !include lights.yaml
timer: !include timers.yaml
zone: !include zones.yaml
input_datetime: !include input_datetime.yaml
person: !include persons.yaml