-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration.yaml
264 lines (236 loc) · 6.26 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
256
257
258
259
260
261
262
263
264
---
# Inspired by https://github.com/bruhautomation/BRUH2-Home-Assistant-Configuration
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 172.24.32.0/24
- 127.0.0.1
whitelist_external_dirs:
- /tmp
# Name of the location where Home Assistant is running
name: Home
# 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: 69
# 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: Europe/London
country: GB
currency: GBP
# Includes
packages: !include_dir_named packages
# media_dirs:
# cctv_clips: /media/frigate/clips
customize:
script.restart_ha:
icon: mdi:power
friendly_name: "Restart Home Assistant"
sensor.weather_station_rainfall:
icon: mdi:weather-rainy
sensor.weather_station_wind_velocity:
icon: mdi:weather-windy-variant
sensor.weather_station_wind_maximum:
icon: mdi:weather-windy
sensor.weather_station_relative_humidity:
icon: mdi:water-percent
sensor.house_average_humidity:
icon: mdi:water-percent
sensor.rest_of_house_average_temperature:
icon: mdi:thermometer
sensor.next_bin:
icon: mdi:delete-empty
light.kyles_bedside:
icon: mdi:hotel
light.sideboard:
assumed_state: false
light.lava_lamp:
assumed_state: false
light.christmas_tree:
assumed_state: false
light.arc_lamp:
assumed_state: false
light.front_hall:
assumed_state: false
group.bedside_lights:
icon: mdi:hotel
sensor.kyle_status:
entity_picture: https://www.gravatar.com/avatar/c5affce936e162c5ef9752c3276f99be.jpg
input_boolean.guest_mode:
icon: mdi:account-multiple-plus
light.craft_room_desk_level:
friendly_name: Craft Room Desk
sensor.daily_energy:
friendly_name: Daily energy usage
sensor.monthly_energy:
friendly_name: Monthly energy usage
# The default_config meta-component provides a host of other configs options, some listed at
# https://www.home-assistant.io/integrations/default_config/
default_config:
# Enable the config panel
config:
recorder: !include recorder.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.18.0.0/24
cors_allowed_origins:
- http://homeauto.vpn.glasgownet.com
- http://viewpoint.house
stream:
alarm_control_panel:
- platform: manual
name: Home Alarm
code_arm_required: false
code: !secret alarm_code
influxdb:
host: 172.24.32.13
port: 8086
ssl: false
api_version: 2
organization: !secret influxdb_organization
bucket: !secret influxdb_bucket
token: !secret influxdb_token
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
person: !include persons.yaml
wake_on_lan:
notify: !include notify.yaml
# View all events in a logbook
logbook:
include:
domains:
- sensor
- media_player
- switch
- light
- event
logger: !include logger.yaml
# Track the sun
sun:
emulated_hue:
# Max of 49!
# https://www.home-assistant.io/components/emulated_hue/
listen_port: 80
expose_by_default: false
# exposed_domains:
# - switch
# - light
# - group
# - input_boolean
# - media_player
entities:
group.lightswitch_relays:
hidden: false
group.ensuite:
hidden: false
group.bedside_lights:
hidden: false
group.outside_lights:
hidden: false
light.hall:
hidden: false
group.living_room_lights:
hidden: false
group.christmas_lights:
hidden: false
input_boolean.guest_mode:
hidden: false
light.study_light:
hidden: false
light.bedside_charlotte:
hidden: false
light.bedside_kyle:
hidden: false
light.garage_lights:
hidden: false
light.craft_room:
hidden: false
light.craft_room_desk_level:
hidden: false
light.master_bedroom:
hidden: false
light.sideboard:
hidden: false
light.living_room:
hidden: false
light.star_burst:
hidden: false
light.lava_lamp:
hidden: false
media_player.living_room_television:
hidden: false
input_boolean.restart_ha:
hidden: false
input_boolean.bin_reminder:
hidden: false
scene.movie_time:
hidden: false
input_boolean.classic_fm:
hidden: false
input_boolean.goodnight_process:
hidden: false
input_boolean.lockup_process:
hidden: false
input_boolean.open_tin_hut_process:
hidden: false
input_boolean.night_view:
hidden: false
script.alexa_turn_on_the_lights:
hidden: false
script.alexa_turn_off_the_lights:
hidden: false
############
# Includes #
############
# automation: !include automation.yaml
# script: !include scripts.yaml
mqtt: !include mqtt.yaml
sensor: !include sensors.yaml
binary_sensor: !include binary_sensors.yaml
light: !include lights.yaml
switch: !include switches.yaml
media_player: !include media_players.yaml
device_tracker: !include device_trackers.yaml
group: !include groups.yaml
zone: !include zones/places.yaml
shell_command: !include shell_commands.yaml
climate: !include climate.yaml
# Merged Includes
automation: !include_dir_list automation
scene: !include_dir_list scenes
# Merged items requiring a dictionary
input_select: !include_dir_named input_select
input_boolean: !include_dir_named input_boolean
script: !include_dir_merge_named scripts/
hwam_stove: !include hwam_stove.yaml
utility_meter:
quarter_hourly_energy:
source: sensor.energy_spent
cycle: quarter-hourly
hourly_energy:
source: sensor.energy_spent
cycle: hourly
daily_energy:
source: sensor.energy_spent
cycle: daily
monthly_energy:
source: sensor.energy_spent
cycle: monthly
quarter_hourly_energy_tv:
source: sensor.energy_spent_tv
cycle: quarter-hourly
hourly_energy_tv:
source: sensor.energy_spent_tv
cycle: hourly
daily_energy_tv:
source: sensor.energy_spent_tv
cycle: daily
monthly_energy_tv:
source: sensor.energy_spent_tv
cycle: monthly
smartir: