-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
configuration.yaml
255 lines (205 loc) · 6.56 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
#### default_config ####
# Configure a default setup of Home Assistant (frontend, api, etc)
# https://www.home-assistant.io/integrations/default_config/
default_config:
#application_credentials:
#assist_pipeline:
automation: !include automations.yaml
#backup:
#bluetooth:
#cloud:
#config:
#conversation:
#counter:
#dhcp:
#energy:
#frontend:
# themes: !include_dir_merge_named themes
# extra_module_url:
# - /local/card-mod.js
#hardware:
#history:
#homeassistant_alerts:
#image_upload:
#input_boolean:
#input_button:
#input_datetime:
#input_number:
#input_select:
#input_text:
#logbook:
#logger:
#default: info
#logs:
# homeassistant.components.rest: debug
#custom_components.bosch: debug
#bosch_thermostat_client: debug
#map:
#media_source:
#mobile_app:
#my:
#network:
#person:
scene: !include scenes.yaml
#schedule:
script: !include scripts.yaml
#ssdp: # Simple Service Discovery Protocol
#stream:
#sun:
#system_health:
#tag:
#timer:
#usb:
#webhook:
#zeroconf:
zone: !include zone.yaml
#group: !include groups.yaml
homeassistant:
packages: !include_dir_named packages
#allowlist_external_dirs:
# - "/usr/share/"
#unit_system: imperial
#temperature_unit: F
#home_connect_alt: #https://github.com/ekutner/home-connect-hass
#client_id: !secret home_connect_alt_client_id
#client_secret: !secret home_connect_alt_client_secret
debug: true
http:
#ssl_certificate: /ssl/fullchain.pem
#ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- !secret trusted_proxy_1
- !secret trusted_proxy_2
lovelace:
mode: storage # yaml
#resources:
# #- url: /hacsfiles/lovelace-horizon-card/lovelace-horizon-card.js
# # type: module
# - url: /local/community/tabbed-card/tabbed-card.js
# type: module
# - url: /local/community/home-assistant-sun-card/home-assistant-sun-card.js
# type: module
# - url: /local/community/lovelace-horizon-card/lovelace-horizon-card.js
# type: module
# - url: /hacsfiles/vacuum-card/vacuum-card.js?hacstag=261291295222
# type: module
# - url: /hacsfiles/rgb-light-card/card.js?hacstag=2153271951100
# type: module
# - url: /hacsfiles/simple-clock-card/simple-clock-card.js?hacstag=34193126615
# type: module
# - url: /hacsfiles/spotify-card/spotify-card.js?hacstag=173955605240
# type: module
# - url: /hacsfiles/hacs-card-for-xiaomi-mi-flora-and-flower-care/hacs-card-for-xiaomi-mi-flora-and-flower-care.js
# type: module
# - url: /hacsfiles/weather-card/weather-card.js?hacstag=192732636150
# type: module
# - url: /webrtc/webrtc-camera.js?v3.1.0
# type: module
# - url: /hacsfiles/lovelace-mushroom/mushroom.js?hacstag=444350375213
# type: module
# - url: /hacsfiles/lovelace-card-mod/card-mod.js?hacstag=190927524315
# type: module
# - url: /hacsfiles/room-card/room-card.js?hacstag=45444094910614
# type: module
# - url: /hacsfiles/apexcharts-card/apexcharts-card.js?hacstag=331701152201
# type: module
# - url: /hacsfiles/button-card/button-card.js?hacstag=146194325342
# type: module
# - url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js?hacstag=1448997001721
# type: module
# - url: /hacsfiles/my-cards/my-cards.js?hacstag=399108901102
# type: module
# - url: /hacsfiles/stack-in-card/stack-in-card.js?hacstag=248954055020
# type: module
# - url: /hacsfiles/slider-button-card/slider-button-card.js?hacstag=4987940331109
# type: module
# - url: /hacsfiles/decluttering-card/decluttering-card.js?hacstag=188686483063
# type: module
# - url: /hacsfiles/text-divider-row/text-divider-row.js?hacstag=179788256141
# type: module
# - url: /hacsfiles/lovelace-auto-entities/auto-entities.js?hacstag=1677445841110
# type: module
# - url: /hacsfiles/mini-media-player/mini-media-player-bundle.js?hacstag=1485208381164
# type: module
# - url: /hacsfiles/bar-card/bar-card.js?hacstag=163363577320
# type: module
# - url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js?hacstag=150781994220
# type: module
# - url: /hacsfiles/ha-sankey-chart/ha-sankey-chart.js?hacstag=455846088110
# type: module
# - url: /hacsfiles/vertical-stack-in-card/vertical-stack-in-card.js?hacstag=142051833044
# type: module
# - url: /local/custom_cards/icloud3-event-log-card.js
# type: module
# - url: /hacsfiles/battery-state-card/battery-state-card.js?hacstag=256292682211
# type: module
# - url: /hacsfiles/lovelace-plotly-graph-card/plotly-graph-card.js?hacstag=413812496301
# type: module
# - url: /hacsfiles/flex-table-card/flex-table-card.js?hacstag=156292058072
# type: module
# - url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js?hacstag=1512800620110
# type: module
# Add yaml dashboards
dashboards:
lovelace-home:
mode: yaml
title: Home
icon: mdi:home
show_in_sidebar: true
require_admin: false
filename: ./lovelace/home/ui-lovelace.yaml
lovelace-system-monitoring:
mode: yaml
title: System monitoring
icon: mdi:help-network
show_in_sidebar: true
require_admin: true
filename: ./lovelace/system_monitoring/ui-lovelace.yaml
lovelace-surveillance:
mode: yaml
title: Surveillance
icon: mdi:cctv
show_in_sidebar: true
require_admin: false
filename: ./lovelace/surveillance/ui-lovelace.yaml
notify: !include notifications.yaml
recorder:
purge_keep_days: 15
shell_command: !include shell.yaml
template:
- sensor:
- name: "Random Wi-Fi Signal Sensor"
state: "{{ states('input_number.temp_wifi_signal') | float(0) }}"
unique_id: random_wifi_signal_sensor
unit_of_measurement: "dBm"
icon: >-
{% set signal = states('input_number.temp_wifi_signal') | float(0) %}
{% if signal > 75 %}
mdi:wifi-strength-4
{% elif signal > 50 %}
mdi:wifi-strength-3
{% elif signal > 25 %}
mdi:wifi-strength-2
{% else %}
mdi:wifi-strength-1
{% endif %}
# Text to speech
tts:
- platform: google_translate
zha:
enable_quirks: true
custom_quirks_path: "/config/zha/quirks"
# https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates
zigpy_config:
ota:
otau_directory: /config/zha/zigpy_ota
ikea_provider: true
inovelli_provider: true
ledvance_provider: true
salus_provider: true
sonoff_provider: true
thirdreality_provider: true
#zha_toolkit: