forked from danrspencer/hass-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
163 lines (152 loc) · 3.89 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
homeassistant:
name: Home
latitude: !secret zone_home_lat
longitude: !secret zone_home_long
elevation: 150
unit_system: metric
time_zone: Europe/London
customize: !include_dir_merge_named configuration/customize
packages: !include_dir_merge_named configuration/package
# Enablers
browser:
cloud: !include configuration/cloud.yaml
config:
conversation:
discovery:
frontend:
javascript_version: latest
ios:
map:
ring:
username: !secret ring_username
password: !secret ring_password
hue:
bridges:
- host: 192.168.0.2
allow_unreachable: false
allow_hue_groups: true
sun:
updater:
include_used_components: true
# History
# influxdb:
# host: !secret influx_host
# port: 8086
# username: !secret influx_user
# password: !secret influx_pass
# default_measurement: state
# exclude:
# entities:
# - sensor.date
recorder:
db_url: !secret db_connection
purge_interval: 1
purge_keep_days: 14
exclude:
entities:
- sensor.date
history:
include:
entities:
- light.bedroom
- light.den
- light.dressing_room
- light.guest_room
- light.hallways
- light.kitchen
- light.living_room
- light.porch
- binary_sensor.kitchen_motion
- binary_sensor.living_room_motion
- binary_sensor.entrance_hall_motion
- binary_sensor.top_floor_motion
- sensor.replay_kitchen
- sensor.replay_living_room
- sensor.replay_hallways
- sensor.replay_top_floor_landing
- sensor.replay_ensuite
logbook:
exclude:
domains:
- group
entities:
- binary_sensor.kitchen_motion
- binary_sensor.living_room_motion
- binary_sensor.entrance_hall_motion
- binary_sensor.top_floor_motion
- sensor.log_db_file_size
- sensor.cpu_temp
- sensor.average_load_15m
- sensor.since_last_boot
logger:
logs:
homeassistant.components.hue: debug
# external links
weblink:
entities:
- name: Sky Router
icon: mdi:ethernet
url: http://192.168.0.1
- name: BT WiFi
icon: mdi:router-wireless
url: http://mybtdevice.home
- name: Travis
icon: mdi:worker
url: https://travis-ci.org/danrspencer/hass-config
panel_iframe:
grafana:
title: Grafana
url: 'https://hass5bill.grafana.net/dashboard/db/hassio?orgId=1&from=now%2Fd&to=now&kiosk=true&refresh=1m'
icon: mdi:trending-up
# Text To Speech
tts:
platform: amazon_polly
aws_access_key_id: !secret aws_access_key_id
aws_secret_access_key: !secret aws_secret_access_key
region_name: eu-west-1
text_type: text
voice: Brian
# Device Tracking
zone:
- zone:
name: Home
latitude: !secret zone_home_lat
longitude: !secret zone_home_long
radius: 250
- zone 2:
name: Work
latitude: !secret zone_l_work_lat
longitude: !secret zone_l_work_long
icon: mdi:briefcase
- zone 3:
name: Work
latitude: !secret zone_d_work_lat
longitude: !secret zone_d_work_long
icon: mdi:briefcase
http:
api_password: !secret hass_password
base_url: !secret hass_base_url
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
trusted_networks:
- 127.0.0.1
- 192.168.0.0/24
device_tracker:
- platform: nmap_tracker
hosts:
- 192.168.0.6
- 192.168.0.9
# Components
automation: !include_dir_merge_list configuration/automation
binary_sensor: !include_dir_merge_list configuration/binary_sensor
climate: !include_dir_merge_list configuration/climate
group: !include_dir_merge_named configuration/group
input_boolean: !include_dir_merge_named configuration/input_boolean
light: !include_dir_merge_list configuration/light
media_player: !include_dir_merge_list configuration/media_player
nest: !include configuration/nest.yaml
scene: !include_dir_merge_list configuration/scene
script: !include_dir_merge_named configuration/script
sensor: !include_dir_merge_list configuration/sensor
switch: !include_dir_merge_list configuration/switch
weather: !include_dir_merge_list configuration/weather