-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
executable file
·220 lines (194 loc) · 6.65 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
homeassistant:
# name: Home
# latitude: !secret latitude
# longitude: !secret longitude
# elevation: 30
# unit_system: metric
# time_zone: Europe/London
customize: !include configuration/customize.yaml
packages: !include_dir_named configuration/packages/
allowlist_external_dirs:
- /snapshots/
frontend:
themes: !include_dir_merge_named ./themes
###################################################################################
# Standard configuration
###################################################################################
#emulated_roku:1
# host_ip: 192.168.86.10 # should be set to Home Assistant's address
default_config:
cloud:
auth:
###################################################################################
# Group configurations
###################################################################################
automation: !include automations.yaml
alexa: !include configuration/alexa/alexa.yaml
alert: !include_dir_merge_named configuration/alert
binary_sensor: !include_dir_merge_list configuration/binary_sensor
group: !include configuration/groups.yaml
intent_script: !include_dir_merge_named configuration/alexa/intent_script/
media_player: !include_dir_merge_list configuration/media_player
mqtt:
binary_sensor: !include_dir_merge_list configuration/mqtt/binary_sensor
sensor: !include_dir_merge_list configuration/mqtt/sensor
notify: !include configuration/notify.yaml
# panel_iframe: !include configuration/panel_iframe.yaml
scene: !include_dir_merge_list configuration/scene
script: !include_dir_merge_named configuration/script
sensor: !include_dir_merge_list configuration/sensors
switch: !include_dir_merge_list configuration/switches
template: !include_dir_merge_list configuration/template
zone: !include configuration/zones.yaml
####################################################################################
# Additional Configurations
####################################################################################
#homekit:
#pincode: !secret homekit
#entity_config:
# alarm_control_panel.ha_alarm:
#code: !secret pin
#filter:
# exclude_domains:
# - automation
# exclude_entities:
# - binary_sensor.greenhouse_resevoir
#apcupsd:
# host: 192.168.86.10
#custom_updater:
# component_urls:
# - https://raw.githubusercontent.com/robmarkcole/Hue-sensors-HASS/master/custom_updater.json
# - https://raw.githubusercontent.com/custom-components/information/master/repos.json
# - https://raw.githubusercontent.com/kalkih/mini-graph-card/master/tracker.json
calendar:
- platform: todoist
token: !secret todoist
rest_command:
add_event:
url: "https://frigate.dargan.uk/api/events/{{camera}}/{{event}}/create"
method: post
content_type: "application/json"
payload: '{"duration": 30, "include_recording": true, "sub_label":"{{subLabel}}" }'
garden_event_door_open:
url: "https://frigate.dargan.uk/api/events/garden/Door Opened/create"
method: post
content_type: "application/json"
payload: '{"duration": 30, "include_recording": true }'
fire_tv_notification:
url: "http://{{ip}}:7979/notify"
method: post
content_type: "application/json"
payload: '{ "duration": 30, "position": 0, "title": "{{title}}", "titleColor": "#0066cc", "titleSize": 20, "message": "{{message}}", "messageColor": "#000000", "messageSize": 14, "backgroundColor": "#ffffff", "media": { "{{media}}": { "uri": "{{mediauri}}", "width": 600 }} }'
garden_event_door_unlocked:
url: "https://frigate.dargan.uk/api/events/garden/Door Unlocked/create"
method: post
content_type: "application/json"
payload: '{"duration": 30, "include_recording": true }'
http:
ip_ban_enabled: true
login_attempts_threshold: 2
trusted_proxies: 192.168.10.99
use_x_forwarded_for: true
light:
- platform: switch
name: Kitchen Outer Light
entity_id: switch.kitchen_outer_lights_switch
- platform: switch
name: Playroom Main Light
entity_id: switch.playroom_main_light
- platform: switch
name: Landing Light
entity_id: switch.landing_light
- platform: group
name: Kitchen Lights
entities:
- light.kitchen_main_light
- light.kitchen_outer_light
plant:
chillies:
sensors:
temperature: sensor.greenhouse_temperature
brightness: sensor.greenhouse_light
min_temperature: 5
powercalc:
scan_interval: 00:01:00 #Each minute
power_sensor_naming: "{} Powersensor"
recorder:
purge_keep_days: 10
db_url: !secret maria_db
exclude:
entities:
- sensor.house_energy_5624021b_smartenergy_metering
- sensor.house_energy_5624021b_smartenergy_metering_summation_delivered
tts:
- platform: microsoft
api_key: !secret microsoft_tts_key
twilio:
account_sid: !secret twilio_account_sid
auth_token: !secret twilio_auth_token
influxdb:
host: 192.168.86.51
api_version: 2
ssl: false
port: 8086
token: !secret influxdb_token
organization: 8e90e1f1bec1671f
bucket: homeassistant
input_boolean:
winter:
name: Disable the greenhouse alerts in the winter
icon: mdi:thermometer-chevron-down
input_number:
kitchen_light_level:
name: Kitchen light level
min: 0
max: 150
step: 1
unit_of_measurement: 'lx'
hall_light_level:
name: Hall light level
min: 0
max: 150
step: 1
unit_of_measurement: 'lx'
input_text:
alexa_actionable_notification:
name: Alexa Actionable Notification Holder
max: 255
initial: '{"text": "This is a test of the alexa actions custom skill. Did it work?", "event": "actionable.skill.test"}'
shell_command:
update_ha: "echo '/docker/homeassistant/up.sh' > cmdpipe"
restart_ha: "echo 'docker restart home-assistant' > cmdpipe"
pull_config: "echo '/docker/homeassistant/pull.sh' > cmdpipe"
todays_timelapse: "echo '/docker/timelapse/today.sh' > cmdpipe"
proxmoxve:
- host: 192.168.86.11
username: hass@pve
password: !secret pve
verify_ssl: false
nodes:
- node: pve
vms:
- 103
containers:
- 100
- 101
- 104
logger:
default: warning
logs:
custom_components.powercalc: debug
zha:
zigpy_config:
ezsp_policies:
TRUST_CENTER_POLICY: 0x0002 # ALLOW_UNSECURED_REJOINS
# WARNING: this effectively opens a permanent backdoor into your Zigbee network!!!
# While it won't allow an attacker to passively capture your network key, it will
# allow them to "rejoin" the network and the coordinator will blindly send it just the same.
ota:
ikea_provider: true
inovelli_provider: true
ledvance_provider: true
salus_provider: true
sonoff_provider: true
thirdreality_provider: true