-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.yaml
147 lines (118 loc) · 3.37 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
default_config: # yamllint disable-line rule:empty-values
homeassistant:
customize: !include customize.yaml
allowlist_external_dirs:
- /config/var
- /gtx/var
media_dirs:
sd: /config/var
gtx: /gtx/var
frontend:
extra_module_url:
- /local/custom-jsm/card-mod.js?v=3.4.3
system_log:
fire_event: true
recorder:
db_url: sqlite:////gtx/home-assistant_v2.db
exclude: !include recorder_exclude.yaml
shell_command:
restart_container: touch ./restart-container
logger:
default: warning
filters: !include logger_filters.yaml
downloader:
download_dir: var/downloads
lovelace:
mode: storage
dashboards:
lovelace-home:
mode: yaml
title: !secret lovelace_street_name
icon: mdi:home-roof
show_in_sidebar: true
filename: lovelace/home.yaml
influxdb: !include influx_db.yaml
tts:
- platform: google_translate
device_tracker: !include device_tracker.yaml
utility_meter: !include utility_meter.yaml
# Arlo
aarlo:
username: !secret arlo_username
password: !secret arlo_password
backend: sse
# As per <https://github.com/twrecked/hass-aarlo/releases/tag/v0.7.4b19> –
# caveat: seems to prevent the library from updating with new recordings...
# backend: mqtt
# mqtt_host: mqtt-cluster-z1.arloxcld.com
refresh_devices_every: 2
stream_timeout: 120
user_agent: linux
tfa_source: imap
tfa_type: email
tfa_host: imap.gmail.com:993
tfa_username: !secret aarlo_imap_user
tfa_password: !secret aarlo_imap_password
save_media_to: /gtx/var/aarlo/${SN}/${Y}/${m}/${Y}-${m}-${d}-${t}
alarm_control_panel:
- platform: aarlo
away_mode_name: Armed
disarmed_mode_name: Disarmed
home_mode_name: Home
night_mode_name: Night
- platform: manual
name: Home Alarm
code: !secret alarm_code
code_arm_required: false
arming_time: 0
delay_time: 30
trigger_time: 180 # N.B. this value is hard-coded in several places...
disarmed:
trigger_time: 0
armed_night:
delay_time: 60
arming_time: 180
camera:
- platform: aarlo
media_player:
# Arlo
- platform: aarlo
# RESTful commands
rest_command:
fireplace:
url: >-
http://pi4.sgraastra:9000/hooks/fireplace-{{-
action if action in ['start', 'stop'] else 'stop' }}
notify:
- name: All devices
platform: group
services:
- service: mobile_app_pixel_6_pro
- service: mobile_app_sm_g990b2
- name: log_hue_scene_heuristic
platform: file
filename: /config/var/hue_scene_heuristic.log
timestamp: true
- name: log_tts_announce
platform: file
filename: /config/var/tts_announce.log
timestamp: true
mqtt:
sensor: !include_dir_merge_list mqtt/
sensor: !include_dir_merge_list sensors/
binary_sensor: !include_dir_merge_list sensors_binary/
light: !include lights.yaml
template: !include_dir_merge_list templates/
fan: !include fans.yaml
switch: !include switches.yaml
group: !include_dir_merge_named groups/
input_select: !include_dir_merge_named input/select/
input_text: !include_dir_merge_named input/text/
input_number: !include_dir_merge_named input/number/
input_boolean: !include_dir_merge_named input/boolean/
input_datetime: !include_dir_merge_named input/datetime/
timer: !include_dir_merge_named timer/
automation: !include automations.yaml
automation custom: !include_dir_merge_list automations/
script: !include_dir_merge_named scripts/
scene: !include scenes.yaml