-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
198 lines (163 loc) · 5.57 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
homeassistant:
name: Home
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: 0
unit_system: metric
time_zone: Europe/Lisbon
country: PT
customize: !include_dir_merge_named customize
default_config:
# ########################################
# ### GUI ###
# ########################################
http:
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.0/24
- 172.18.0.0/24
- 127.0.0.1
- ::1
- fe80::/64
- fe00::/64
- fd00::/64
frontend:
# We can define additional/custom themes for the frontend here.
themes: !include_dir_merge_named themes
# performance improvement from https://github.com/thomasloven/lovelace-card-mod#performance-improvements
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
lovelace:
mode: yaml
resources: !include_dir_list lovelace/resources
dashboards: !include_dir_merge_named lovelace/dashboards
panel_custom:
- name: panel-redirect
url_path: redirect-logs
sidebar_title: Logs
sidebar_icon: mdi:math-log
module_url: /local/custom_scripts/panel-redirect.js
config:
target: /config/logs
# ########################################
# ### INTEGRATIONS ###
# ########################################
wake_on_lan:
# nextcloud:
# url: http://192.168.1.90:9321
# username: !secret nextcloud_username
# password: !secret nextcloud_password
lywsd02:
# ########################################
# ### NOTIFICATIONS ###
# ########################################
# telegram_bot:
# - platform: polling
# api_key: !secret telegram_bot_key
# allowed_chat_ids:
# - !secret telegram_chatid_luis
# - !secret telegram_chatid_margarida
# notify:
# - platform: discord
# name: discord
# token: !secret discord_bot_token
# - platform: telegram
# name: Telegram Luis
# chat_id: !secret telegram_chatid_luis
# - platform: telegram
# name: Telegram Margarida
# chat_id: !secret telegram_chatid_margarida
# ########################################
# ### SERVICES ###
# ########################################
# cloud:
# Customize the Google Assistant integration with the Nabu Casa Cloud
# google_actions:
# Entity specific configuration for Google Assistant.
# These are loaded from a separate directory.
# entity_config: !include_dir_merge_named customizations/google_assistant
# Filters for entities to include/exclude from Google Assistant.
# These are loaded from a separate directory.
# filter:
# include_entities: !include_dir_merge_list google_assistant
tts:
# - platform: google_translate
# cache: true
# cache_dir: /tmp/tts
# time_memory: 300
# base_url: http://192.168.1.95:8123
# service_name: google_say
- platform: google_cloud
key_file: service-account-tts.json
language: pt-PT
gender: male
voice: pt-PT-Wavenet-B
speed: 0.9
text_type: ssml
profiles:
- small-bluetooth-speaker-class-device
spotcast:
sp_dc: !secret spotify_dc
sp_key: !secret spotify_key
device_tracker:
- platform: bluetooth_le_tracker
new_device_defaults:
track_new_devices: true
# ########################################
# ### LOGGING ###
# ########################################
logger: !include logger.yaml
logbook: !include logbook.yaml
recorder: !include recorder.yaml
system_log:
max_entries: 30
fire_event: true
influxdb:
api_version: 2
ssl: false
host: !secret influxdb_host
port: 8086
organization: !secret influxdb_org
bucket: homeassistant
# Authentication credentials.
token: !secret influxdb_token
# Max number of retries in case of a failure.
max_retries: 3
# Tags to mark the data.
tags:
source: HA
# The list of attribute names which should be reported as tags
# and not fields to InfluxDB.
tags_attributes:
- friendly_name
# Measurement name to use when the measurement_attr state attribute does
# not exist, e.g. when an entity doesn’t have a unit.
default_measurement: units
# I like to specify (whitelist) each thing I'd like to put
# into InfluxDB, to keep the database as clean as possible.
include:
entities: !include_dir_merge_list influxdb
# ########################################
# ### ENTITIES ###
# ########################################
#input_boolean: !include_dir_merge_named components/input_boolean
#input_datetime: !include_dir_merge_named components/input_datetime
input_number: !include_dir_merge_named components/input_number
shell_command: !include_dir_merge_named components/shell_command
sensor: !include_dir_merge_list components/sensors
template: !include_dir_merge_list components/templates
binary_sensor: !include_dir_merge_list components/binary_sensors
command_line: !include_dir_merge_list components/command_line
switch: !include_dir_merge_list components/switches
light: !include_dir_merge_list components/lights
utility_meter: !include_dir_merge_named components/utility_meter
camera: !include_dir_merge_list components/cameras
#group: !include_dir_merge_named groups
#automation: !include_dir_merge_list automations
automation: !include automations.yaml
#script: !include scripts.yaml
script: !include_dir_merge_named scripts
scene: !include scenes.yaml
scene split: !include_dir_list ../scenes