-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
261 lines (222 loc) · 5.8 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
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 home_latitude
#longitude: !secret home_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
#elevation: !secret home_elevation
# 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/Copenhagen
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend KENNETH disabled
# introduction:
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
# Enables configuration UI
config:
# Mobile App IOS
mobile_app:
logger:
# default: error
logs:
homeassistant.components.mqtt: error
homeassistant.components.http.ban: warning
default: warning
#default: info
# logs:
# homeassistant.components.mqtt: info
# homeassistant.components.http.ban: warning
# homeassistant.components.deconz: debug
# homeassistant.components.zeroconf: debug
# pyipp: debug
# alexa_media.helpers: debug
# aiounifi: debug
# homeassistant.components.unifi: debug
# bellows: debug
# zigpy: debug
# homeassistant.components.zha: debug
# homeassistant.components.zwave: info
system_health:
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
ignore:
- apple_tv
ssdp:
zeroconf:
remote:
- platform: harmony
name: harmony hub
host: !secret harmony_ip
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
include:
domains:
# - binary_sensor
# - sensor
- alarm_control_panel
# - cover
# - light
# - switch
#- media_player
- person
# - timer
# - zwave
# - input_boolean
# - input_select
# - input_number
# - input_text
#Kenneth set this to keep 5 days data
recorder:
purge_keep_days: 5
exclude:
entities:
- sensor.vanlose_9a
- sensor.glostrup_busses
- sensor.glostrup_s_train
- sensor.byparken
- sensor.home_assistant_uptime
- sensor.google_otp
- sensor.amazon_otp
- binary_sensor.amcrest_1_motion_detected
event_types:
- service_removed
# - service_executed
- platform_discovered
# - homeassistant_start
# - homeassistant_stop
- feedreader
- service_registered
# - call_service
- component_loaded
- logbook_entry
- system_log_event
# - automation_triggered
# - script_started
- timer_out_of_sync
- !secret alexa_media_entity
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
default_zoom: 12
hours_to_show: 12
# Track the sun
sun:
zwave:
# usb_path: /dev/ttyACM1
usb_path: !secret zwave_usb_path
network_key: !secret zwave_network_key
ios:
mqtt:
broker: localhost
username: !secret mqtt_user
password: !secret mqtt_password
alarm_control_panel:
- platform: manual
name: alarm
#code: !secret alarm_code
trigger_time: 300
delay_time: 45
arming_time: 45
code_arm_required: false
disarmed:
trigger_time: 0
armed_home:
arming_time: 45
armed_away:
arming_time: 45
# - platform: manual
# name: testalarm
# #code: !secret alarm_code
# trigger_time: 30
# delay_time: 15
# arming_time: 15
# code_arm_required: false
# disarmed:
# trigger_time: 0
# armed_home:
# arming_time: 15
# armed_away:
# arming_time: 15
# Text to speech
tts:
- platform: google_translate
base_url: !secret base_url
service_name: google_say
notify:
- name: idevices
platform: group
services:
- service: mobile_app_kenneth_s_iphone_se
- service: mobile_app_kenneth_s_ipad_pro
- service: mobile_app_diane_s_privat
- service: mobile_app_kenneths_ipad_11
device_tracker:
- platform: mqtt_json
devices:
testtracker: 'location/testtracker'
person:
- name: Diane
id: Diane
device_trackers:
- device_tracker.diane_s_privat
- device_tracker.dianes_privat_unifi
- name: Kenneth
id: Kenneth
device_trackers:
- device_tracker.kenneth_s_iphone_se
- device_tracker.kenneth_iphone_se_unifi
- name: Tester
id: Tester
device_trackers:
- device_tracker.testtracker
# Track calendar false is needed to prevent Hass from overwriting the google_calendar.yaml file.
google:
client_id: !secret google_client_id
client_secret: !secret google_client_secret
track_new_calendar: false
amcrest:
- host: !secret amcrest_host
username: admin
password: !secret amcrest_password
stream_source: snapshot
binary_sensors:
- motion_detected
- online
sensors:
- sdcard
- ptz_preset
name: Amcrest 1
resolution: high
wake_on_lan:
stream:
camera: !include cameras.yaml
cloud: !include clouds.yaml
fan: !include fans.yaml
input_boolean: !include input_booleans.yaml
input_number: !include input_numbers.yaml
input_select: !include input_selects.yaml
input_text: !include input_texts.yaml
rest_command: !include rest_commands.yaml
sensor: !include sensors.yaml
binary_sensor: !include binary_sensors.yaml
switch: !include switches.yaml
cover: !include covers.yaml
light: !include lights.yaml
group: !include groups.yaml
automation manual: !include_dir_merge_list automations
automation: !include automations.yaml
script: !include_dir_merge_named scripts
scene: !include scenes.yaml
scene manual: !include_dir_merge_list scenes
timer: !include timers.yaml