This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfiguration.yaml
executable file
·261 lines (220 loc) · 6.3 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
---
##########################################
############## Home Assistant ############
##########################################
homeassistant:
name: The Figenblat Home
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation
unit_system: metric
time_zone: Asia/Jerusalem
customize: !include customize_ent.yaml
customize_domain:
automation:
initial_state: true
hidden: true
date_notifier:
hidden: true
scene:
hidden: true
sensor:
force_update: true
customize_glob:
"sensor.*_door_sensor":
icon: mdi:glassdoor
"sensor.google_wifi_*_status":
icon: mdi:wifi
"sensor.*_traccar_geocode":
hidden: true
"sensor.shabbat_times_*":
hidden: true
"switch.*_light*":
icon: mdi:lightbulb
"switch.*_light_fixed":
hidden: true
"switch.*_ac_toggle":
icon: mdi:power
##########################################
########## Basic Configuration ###########
##########################################
config:
history:
http:
base_url: !secret http_base_url
api_password: !secret http_api_password
server_port: !secret http_server_port
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- !secret trusted_proxy
frontend:
themes: !include_dir_merge_named themes
javascript_version: latest
logbook:
logger:
default: warning
lovelace:
mode: yaml
system_health:
##########################################
######### Components Configuration #######
##########################################
alexa: !include alexa.yaml
amcrest:
- host: !secret nursery_amcrest_cam_ip
username: !secret nursery_cam_username
password: !secret nursery_cam_password
name: "Camera"
port: !secret nursery_cam_port
resolution: 'high'
stream_source: 'rtsp'
scan_interval: 3
binary_sensors:
- motion_detected
sensors:
- ptz_preset
automation: !include automations.yaml
cast:
living_room_ghome_mini:
- host: !secret living_room_ghome_mini_ip
living_room_shield:
- host: !secret living_room_shield_ip
office_chromecast:
- host: !secret office_chromecast_ip
climate: !include climates.yaml
cover:
- platform: template
covers:
shabbat_notify_minutes_start:
friendly_name: "Adjust Minutes"
icon_template: mdi:alarm-plus
# yamllint disable-line rule:line-length
position_template: "{% if states.sensor.shabbat_notify_minutes_start.state == none %}30{% else %}{{ states.sensor.shabbat_notify_minutes_start.state | int}}{% endif %}"
open_cover:
service: input_text.set_value
data_template:
entity_id: input_text.shabbat_notify_minutes_start
# yamllint disable-line rule:line-length
value: "{{ [((states.input_text.shabbat_notify_minutes_start.state | int // 5 * 5) + 5), 90] | min }}"
close_cover:
service: input_text.set_value
data_template:
entity_id: input_text.shabbat_notify_minutes_start
# yamllint disable-line rule:line-length
value: "{{ [((states.input_text.shabbat_notify_minutes_start.state | int // 5 * 5) - 5), 0] | max }}"
date_notifier: !include date_notifiers.yaml
device_tracker: !include device_trackers.yaml
fan: !include fans.yaml
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
google_assistant: !include google_assistant.yaml
hue:
bridges:
- host: !secret living_room_hue_bridge_ip
allow_unreachable: true
allow_hue_groups: true
input_boolean:
send_shabbat_notification_tomer:
name: "Notify Tomer"
icon: mdi:send
send_shabbat_notification_hava:
name: "Notify Hava"
icon: mdi:send
input_number: !include input_numbers.yaml
input_select: !include input_selects.yaml
input_text:
shabbat_notify_minutes_start:
name: shabbat_notify_minutes_start
lifx:
media_player:
- platform: spotify
client_id: !secret tomer_spotify_client_id
client_secret: !secret tomer_spotify_client_secret
name: "Tomer's Spotify"
cache_path: ".spotify-token-cache"
mqtt:
broker: !secret mosquitto_broker_ip
port: !secret mosquitto_broker_port
client_id: !secret mosquitto_ha_client_id
username: !secret mosquitto_ha_user
password: !secret mosquitto_ha_password
discovery: false
notify:
- platform: telegram
name: telegram_tomer_service
chat_id: !secret telegram_tomer_chat_id
- platform: telegram
name: telegram_hava_service
chat_id: !secret telegram_hava_chat_id
- platform: group
name: everyone
services:
- service: telegram_tomer_service
- service: telegram_hava_service
recorder:
db_url: !secret hass_db_url
purge_interval: 2
purge_keep_days: 7
include:
domains:
- climate
- fan
- input_boolean
- input_number
- input_select
- input_text
- sensor
- light
exclude:
entities:
- sensor.google_wifi_bedroom_uptime
- sensor.google_wifi_guest_room_uptime
- sensor.google_wifi_living_room_uptime
- sensor.home_workstation_uptime_human
- sensor.home_workstation_uptime_ticks
- sensor.qnap_homenas_uptime
remote:
- platform: harmony
name: "Living Room Harmony Hub"
host: !secret living_room_logitech_harmony_hub_ip
activity: Watch TV
scene:
- platform: lifx_cloud
token: !secret lifx_cloud_token
script: !include scripts.yaml
sensor: !include sensors.yaml
speedtestdotnet:
monitored_conditions:
- ping
- download
- upload
manual: true
switch: !include switches.yaml
switcher_kis:
phone_id: !secret switcher_phone_id
device_id: !secret switcher_device_id
device_password: !secret switcher_device_password
telegram_bot:
- platform: polling
api_key: !secret telegram_bot_api_key
allowed_chat_ids:
- !secret telegram_tomer_chat_id
- !secret telegram_hava_chat_id
zone:
- name: home
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
radius: 100
icon: mdi:home
- name: the_white_house
latitude: !secret the_white_house_latitude
longitude: !secret the_white_house_longitude
radius: 100
icon: mdi:home-heart
- name: bynet
latitude: !secret bynet_latitude
longitude: !secret bynet_longitude
radius: 200
icon: mdi:worker