-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
executable file
·221 lines (194 loc) · 4.39 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
homeassistant:
name: Home
latitude: !secret latitude
longitude: !secret longitude
elevation: 100
unit_system: metric
time_zone: Europe/London
currency: GBP
country: GB
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 10.20.0.0/24
- 10.20.1.0/24
customize: !include customize.yaml
zone:
- name: Home
latitude: !secret latitude
longitude: !secret longitude
radius: 35
icon: mdi:account-multiple
- name: Ana
latitude: !secret ana_lat
longitude: !secret ana_long
radius: 35
icon: mdi:account-multiple
lovelace:
mode: storage
resources:
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
default_config:
http:
cors_allowed_origins:
- https://hass.microserver.space
server_host: 0.0.0.0
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 10.244.0.0/16
- 127.0.0.1
- ::1
auth_header:
username_header: X-authentik-username
debug: false
recorder:
auto_purge: true
auto_repack: true
purge_keep_days: 30
db_url: !env_var HASS_POSTGRES_URL
exclude:
domains:
- weather
entities:
- sensor.date
- sensor.time
entity_globs:
- switch.remote_button_*
- sensor.openweathermap_*
- sensor.moonraker_toolhead_position_*
- sensor.moonraker_slicer_*
- sensor.moonraker_print_*
logbook:
prometheus:
namespace: hass
component_config_glob:
sensor.*_humidity:
override_metric: humidity_percent
sensor.*_temperature:
override_metric: temperature_c
sensor.temperature*:
override_metric: temperature_c
sensor.*_battery:
override_metric: battery_percent
filter:
include_domains:
- sensor
exclude_entities:
- sensor.date
- sensor.time
exclude_entity_globs:
- sensor.weather_*
system_health:
logger:
default: error
logs:
custom_components.auth_header: warning
homeassistant.components.androidtv.media_player: info
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
browser_mod:
config:
history:
sun:
group: !include groups.yaml
automation: !include automations.yaml
sensor: !include sensors.yaml
scene: !include scenes.yaml
template: !include templates.yaml
mqtt:
alexa:
smart_home:
locale: en-GB
endpoint: https://api.eu.amazonalexa.com/v3/events
client_id: !secret alexa_client_id
client_secret: !secret alexa_client_secret
filter:
include_domains:
- light
- climate
- scene
include_entities:
- group.bedroom_group
- group.kitchen_group
- group.office_group
- group.lounge_group
- sensor.bedroom_temperature_humidity_temperature
- sensor.ep1_01_7f753c_temperature
- sensor.ep1_02_dac9c4_temperature
- switch.sonoff_s26_1_relay
- switch.sonoff_s26_2_relay
- switch.office_light_switch
exclude_entity_globs:
- light.ep1_*
- light.floor_lamp
entity_config:
group.office_lights:
display_categories: LIGHT
energy:
# utility_meter:
# daily_energy:
# source: sensor.electric_consumption_today
# name: Daily Energy
# cycle: daily
# tariffs:
# - peak
# - offpeak
# monthly_energy:
# source: sensor.electric_consumption_today
# name: Monthly Energy
# cycle: monthly
# tariffs:
# - peak
# - offpeak
alarm_control_panel:
- platform: manual
name: Alarm Panel
code: !secret alarm_code
arming_time: 20
delay_time: 60
trigger_time: 4
disarmed:
trigger_time: 0
armed_home:
arming_time: 0
delay_time: 0
input_boolean: !include booleans.yaml
waste_collection_schedule:
sources:
- name: bathnes_gov_uk
args:
uprn: !secret uprn
input_select:
minimalist_ui_switch:
name: Select popup/view
options:
- light 1
- light 2
- light 3
- light 4
- light 5
- light 6
- light 7
- light 8
- climate 2
- mediaplayer 1
- mediaplayer 2
# - bedroom
# - landing
# - livingroom
# - office
# - server
sonos:
media_player:
advertise_addr: 10.30.0.13
# hosts:
# - 10.30.0.51 # Arc
# # - 10.30.0.62 # LS
# # - 10.30.0.63 # RS
# # - 10.30.0.60 # Sub