-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfiguration.yaml
executable file
·228 lines (209 loc) · 6.02 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
---
homeassistant:
# Name of the location where Home Assistant is running
name: !secret home_title
# 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: !secret home_timezone
# Website base URL of Home Assistant
external_url: !secret hass_base_url
internal_url: !secret hass_base_url_int
allowlist_external_dirs:
- /tmp
- /config/.storage/beward
- /config/www
packages: !include_dir_named packages
# Customization
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 127.0.0.1
- "::1"
- "fd00::/8"
# - !secret trusted_network_1
# - !secret trusted_network_2
customize_glob:
"*.*":
custom_ui_state_card: state-card-custom-ui
"group.*":
hide_control: true
# Load basic components
api:
auth:
config:
# upnp:
# port_mapping: true
discovery:
hacs:
token: !secret hacs_github_token
appdaemon: true
http:
# ssl_certificate: !secret ssl_certificate
# ssl_key: !secret ssl_key
trusted_proxies: !secret gateway_host_ip
use_x_forwarded_for: true
ip_ban_enabled: true
login_attempts_threshold: 12
server_port: !secret hass_port
mobile_app:
ssdp:
system_health:
updater:
zeroconf:
# sensors: false
# ########################################
# ### GUI ###
# ########################################
lovelace:
mode: yaml
resources:
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: https://unpkg.com/[email protected]/moment.js
type: js
- url: https://fonts.googleapis.com/css?family=Roboto+Condensed
type: css
- url: /hacsfiles/air-visual-card/air-visual-card.js
type: js
# - url: /hacsfiles/alarm_control_panel-card.js
# type: js
# - url: /hacsfiles/atomic-calendar.js
# type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/bignumber-card/bignumber-card.js
type: js
- url: /hacsfiles/button-card/button-card.js
type: module
# - url: /hacsfiles/calendar-card.js
# type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
# - url: /hacsfiles/custom-header/custom-header.js
# type: module
- url: /local/custom-lovelace/custom-ui.js
type: module
- url: /local/custom-lovelace/weather-card-chart.js
type: module
# - url: /hacsfiles/dual-gauge-card.js
# type: js
# - url: /hacsfiles/entity-attributes-card.js
# type: js
- url: /hacsfiles/flex-horseshoe-card/flex-horseshoe-card.js
type: module
- url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
- url: /hacsfiles/lovelace-card-preloader/lovelace-card-preloader.js
type: js
# - url: /hacsfiles/light-card.js
# type: js
# - url: /hacsfiles/live-camera-card.js?v.0.0.3
# type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /local/custom-lovelace/popup-card.js
type: js
- url: /hacsfiles/secondaryinfo-entity-row/secondaryinfo-entity-row.js
type: js
- url: /hacsfiles/state-attribute-element/state-attribute-element.js
type: js
# - url: /hacsfiles/state-element.js
# type: js
# - url: /hacsfiles/state-switch.js
# type: js
- url: /hacsfiles/text-element/text-element.js
type: js
# - url: /hacsfiles/toggle-lock-entity-row.js
# type: js
- url: /hacsfiles/transmission-card/transmission-card.js
type: module
# - url: /hacsfiles/upcoming-media-card.js
# type: js
# - url: /hacsfiles/username-element.js
# type: js
frontend: # Enables the frontend
themes: !include_dir_merge_named themes/
map:
# ########################################
# ### LOGGING ###
# ########################################
recorder:
db_url: !secret db_url
purge_keep_days: 14
include:
domains:
- sensor
- input_boolean
- input_select
- input_number
- input_text
- input_datetime
- automation
- cover
- climate
- lock
- binary_sensor
exclude:
# entities: !include exclude.yaml
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
history: !include logging/history.yaml
logbook: !include logging/logbook.yaml
logger: !include logging/logger.yaml
influxdb:
host: !secret influxdb_host_ip
port: 8086
username: !secret db_username
password: !secret db_password
max_retries: 3
default_measurement: state
# ########################################
# ### SERVICES ###
# ########################################
sun:
#shopping_list:
# Devices tracking
zone: !include_dir_merge_list zones/
owntracks:
max_gps_accuracy: 200
mqtt:
broker: !secret mqtt_host_ip
username: !secret mqtt_username
password: !secret mqtt_password
client_id: !secret home_title
discovery: true
birth_message:
topic: 'homeassistant/status'
payload: 'online'
will_message:
topic: 'homeassistant/status'
payload: 'offline'
# scene: !include_dir_list scenes/