-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
415 lines (352 loc) · 9.37 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
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 127.0.0.1
- fd00::/8
- ::1
- 172.30.32.2
- 10.5.50.149
# - 10.5.50.0/24
customize: !include_dir_merge_named customize
customize_glob: !include_dir_merge_named customize_glob
packages: !include_dir_named packages
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
# Enables configuration UI
config:
system_health:
energy:
influxdb:
host: a0d7b954-influxdb
port: 8086
database: !secret influx_db
username: !secret influx_user
password: !secret influx_pass
max_retries: 3
default_measurement: state
include:
domains:
- sensor
- vacuum
exclude:
entities:
- sensor.power_johannedalsvagen_75_b
- sensor.real_time_consumption_johannedalsvagen_75_b
- sensor.hourly_energy
- sensor.dayly_energy
- sensor.weekly_energy
- sensor.monthly_energy
- sensor.yearly_energy
- sensor.time
- sensor.time_2
- sensor.time_3
- sensor.heater_departuretime
- sensor.heater_activationtime
- sensor.heater_temptime
- sensor.heater_forecast
- sensor.rtc_power_1min
- sensor.rtc_accumulated_consumption_1min
- sensor.rtc_avgpower_1min
- sensor.rtc_maxpower_1min
- sensor.rtc_minpower_1min
- sensor.rtc_current_phase1_1min
- sensor.rtc_current_phase2_1min
- sensor.rtc_current_phase3_1min
- sensor.rtc_accumulated_consumption_state
- sensor.rtc_avgpower_state
- sensor.rtc_maxpower_state
- sensor.rtc_minpower_state
- sensor.rtc_current_phase1_state
- sensor.rtc_current_phase2_state
- sensor.rtc_current_phase3_state
entity_globs:
- sensor.*_johannedalsvagen_75_b
tags_attributes:
- grafana_name
- friendly_name
alexa:
google_assistant:
project_id: !secret ga_project_id
#api_key: !secret ga_api_key
service_account: !include ga_homeassistant.json
secure_devices_pin: !secret verisure_default_code
report_state: true
exposed_domains:
- switch
- light
- group
- lock
- sensor
entity_config:
group.all_automations:
expose: false
switch.sp120_1:
expose: false
sensor.outdoor_temperatures:
expose: false
# light.kitchentable:
# name: 'Kitchen table'
# aliases:
# - 'table light'
# - 'kökslampa'
# - 'kökslampan'
# - 'kökslyset'
# switch.switch_tiny_1:
# name: 'Kitchen window'
# aliases:
# - 'kitchen window light'
# - 'köksfönsterlampan'
# light.bedroom_ceiling:
# name: 'Bedroom ceiling'
# aliases:
# - 'Sovrumslampan'
# - 'Sovrumstaklampan'
http:
ip_ban_enabled: true
login_attempts_threshold: 3
use_x_forwarded_for: true
trusted_proxies:
- 10.5.50.250
#base_url: !secret base_url
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
mobile_app:
# speedtestdotnet:
# server_id: 6061
# # scan_interval:
# # minutes: 180
# manual: true
# monitored_conditions:
# - ping
# - download
# - upload
#googlehome:
# devices:
# - host: !secret googlehome1
# - host: !secret googlehome2
device_tracker:
# - platform: bluetooth_tracker
# request_rssi: true
# - platform: google_maps
# track_new_devices: true
# username: !secret maps_user
# # password: !secret maps_pass
# max_gps_accuracy: 200
# scan_interval: 60
# - platform: bluetooth_le_tracker
person:
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
mqtt:
# APC UPS
apcupsd:
host: a722577e-apcupsd
# Enables support for tracking state changes over time
history:
exclude:
domains:
- automation
- weblink
- updater
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# stream
stream:
# media source
media_source:
# zeroconf
zeroconf:
# Text to speech
tts:
- platform: google_translate
service_name: google_say
base_url: !secret base_url
# verisure
# verisure:
# username: !secret verisure_user
# password: !secret verisure_pass
# default_lock_code: !secret verisure_default_code
# alarm: false
# hygrometers: false
# smartplugs: false
# thermometers: false
# mouse: false
# door_window: false
# locks: true
# tibber:
# access_token: !secret tibber_token
# spotify
spotify:
client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret
# Cloud
cloud:
# vacuum cleaners
# vacuum:
# - platform: xiaomi_miio
# name: 'Vac-It Ralph'
# host: !secret roborock_s5max_host
# token: !secret roborock_s5max_token
# HACS
hacs:
token: !secret hacs_token
# theme: true
# HACS integrations
# -----------------
svt_play:
tv4_play:
# HQ automower
automower:
username: !secret am_user
password: !secret am_pass
# sure catflap
#surepetcare:
# username: !secret sure_petflap_username
# password: !secret sure_petflap_password
# surepetcarebeta:
# username: !secret sure_petflap_username
# password: !secret sure_petflap_password
# midea cloud
# climate:
# - platform: midea_ac
# host: !secret midea_host
# id: !secret midea_id
telegram_bot:
- platform: polling
api_key: !secret telegram_bot_apikey
allowed_chat_ids:
- !secret telegram_bot_id_group
- !secret telegram_bot_id_linus
notify:
- platform: pushbullet
name: pushbullet
api_key: !secret pushbullet_key
- platform: html5
name: google
vapid_pub_key: !secret vapid_pub_key
vapid_prv_key: !secret vapid_prv_key
vapid_email: !secret vapid_email
- platform: telegram
name: castle
chat_id: !secret telegram_bot_id_group
- platform: group
name: ALL_DEVICES
services:
- service: mobile_app_oneplus_8t
- service: mobile_app_isabells_iphone
logger:
default: warn
logs:
# temp debug for unifi
# aiounifi: debug
# homeassistant.components.unifi: debug
# homeassistant.components.device_tracker.unifi: debug
# homeassistant.components.switch.unifi: debug
homeassistant.components.device_tracker: warn
homeassistant.components.sensor: warn
homeassistant.components.sensor.scrape: info
homeassistant.component.media_player.denonavr: info
homeassistant.components.shell_command: warn
homeassistant.helpers.script: warn
homeassistant.components.automation: warn
homeassistant.components.websocket_api.http.connection: warn
custom_components.nordpool: warn
# custom_components.husqvarna_automower: debug
# custom_components.husqvarna_automower.vacuum: debug
# custom_components.husqvarna_automower.config_flow: debug
# aioautomower: debug
recorder:
db_url: !secret mariadb
purge_keep_days: 2
auto_purge: true
include:
domains:
- switch
- media_player
- sensor
- person
- vacuum
- device_tracker
- binary_sensor
- input_boolean
- light
- counter
- lock
- vacuum
exclude:
event_types:
# - state_changed # this is history stats
- call_service
entities:
#- sensor.real_time_consumption_johannedalsvagen_75_b
- sensor.outdoor_temperatures
- sensor.hourly_energy
- sensor.dayly_energy
- sensor.weekly_energy
- sensor.monthly_energy
- sensor.yearly_energy
- sensor.time
- sensor.time_2
- sensor.time_3
- sensor.heater_departuretime
- sensor.heater_activationtime
- sensor.heater_temptime
- sensor.heater_forecast
# - sensor.rtc_power_1min
# - sensor.rtc_accumulated_consumption_1min
# - sensor.rtc_avgpower_1min
# - sensor.rtc_current_phase1_1min
# - sensor.rtc_current_phase2_1min
# - sensor.rtc_current_phase3_1min
# - sensor.rtc_accumulated_consumption_state
# - sensor.rtc_avgpower_state
# - sensor.rtc_maxpower_state
# - sensor.rtc_minpower_state
# - sensor.rtc_current_phase1_state
# - sensor.rtc_current_phase2_state
# - sensor.rtc_current_phase3_state
- sensor.ups_status_date
- sensor.ups_status_data
entity_globs:
# power cunsumption
- sensor.rtc_*_1min
- sensor.rtc_*_state
- sensor.*_johannedalsvagen_75_b
# frigate
- sensor.*_process_fps
- sensor.*_camera_fps
- sensor.*_detection_fps
# media players
media_player: !include media_player.yaml
image_processing: !include image_processing.yaml
# include sensors
sensor: !include_dir_merge_list sensors/
# Cameras
camera: !include cameras.yaml
# Switches
switch: !include switch.yaml
group: !include_dir_merge_named groups/
light: !include_dir_merge_list lights/
#light: !include light.yaml
#binary_sensor: !include binary_sensors.yaml
binary_sensor: !include_dir_merge_list binary_sensors/
utility_meter: !include utility_meter.yaml
input_boolean: !include input/boolean.yaml
#input_select: !include input/select.yaml
input_number: !include input/number.yaml
#input_datetime: !include input/datetime.yaml
#input_text: !include input/text.yaml
automation: !include_dir_merge_list automations/
script: !include scripts.yaml
shell_command:
#lovelace_gen: 'python /config/lovelace-gen.py > /config/lovelace-gen.log'