forked from CiquattroFPV/Homeassistant-Example-Config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
188 lines (158 loc) · 5.27 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
###################################################
# #
# Home Assistant Main Configuration File #
# #
###################################################
homeassistant:
auth_providers:
- type: homeassistant
- type: legacy_api_password
name: !secret name
temperature_unit: C
time_zone: !secret timezone
latitude: !secret latitude
longitude: !secret longitude
unit_system: metric
elevation: 47
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
####################################################
# #
# Frontend/Themes #
# #
####################################################
frontend:
themes: !include themes.yaml
# Enables configuration UI
config:
http:
api_password: !secret http_password
cors_allowed_origins:
- http://10.10.20.216:7080
- https://reformedreality.com
- http://reformedreality.com
- https://google.com
- https://home-assistant.io
- https://api.ai
ip_ban_enabled: True
login_attempts_threshold: 5
base_url: !secret base_url
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
trusted_networks:
- 127.0.0.1
- ::1
- 10.10.20.0/24
- 10.10.10.0/24
- fd00::/8
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
#base_url:
#ssl_certificate: /ssl/fullchain.pem
#ssl_key: /ssl/privkey.pem
####################################################
# #
# Geolocation #
# #
####################################################
zone: !include zones.yaml
mqtt: !include mqtt.yaml
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
hassio:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
logger:
default: info
map:
# Track the sun
sun:
# Text to speech
tts:
- platform: google
cache: true
cache_dir: /tts
time_memory: 300
language: 'it'
# Cloud
cloud:
light: !include light.yaml
camera: !include camera.yaml
weblink: !include weblink.yaml
group: !include groups.yaml
automation: !include automations.yaml
#automation old: !include_dir_merge_list automation
script: !include scripts.yaml
shell_command: !include shell_commands.yaml
device_tracker: !include device_tracker.yaml
sensor: !include sensor.yaml
media_player: !include media_player.yaml
switch: !include switch.yaml
notify: !include notify.yaml
binary_sensor: !include binary_sensors.yaml
telegram_bot:
platform: polling
api_key: !secret telegram_apikey
allowed_chat_ids:
- !secret telegram_clientid
- !secret telegram_clientid2
####################################################
# #
# Database #
# #
####################################################
influxdb:
host: 10.10.20.216
port: 8086
database: home_assistant
username: !secret influxdb_user
password: !secret influxdb_pwd
#max_retries: 3
#default_measurement: state
###################################################
# #
# IFTTT #
# #
###################################################
ifttt:
key: !secret ifttt_key
###################################################
# #
# Smart Home #
# #
###################################################
tado:
username: !secret tado_user
password: !secret tado_pwd
fritzbox:
devices:
- host: fritz.box
username: !secret fritz_user
password: !secret fritz_pwd
####################################################
# #
# Input Slider and Boolean #
# #
####################################################
#input_boolean: !include_dir_merge_named input_boolean
input_select: !include_dir_merge_named input_select
input_number: !include_dir_merge_named input_number
####################################################
# #
# Panel Iframe #
# #
####################################################