-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfiguration.yaml
More file actions
185 lines (147 loc) · 3.85 KB
/
configuration.yaml
File metadata and controls
185 lines (147 loc) · 3.85 KB
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
homeassistant:
name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
elevation: 0
unit_system: metric
time_zone: Europe/Amsterdam
internal_url: !secret base_url
external_url: !secret base_url
customize_glob: !include configuration/customize_glob.yaml
customize: !include configuration/customize.yaml
auth_providers:
- type: homeassistant
# Needed for Samsung Smartthings
cloud:
# Enable the frontend
frontend:
extra_module_url:
- /local/layout-card.js
mobile_app:
# Enable lovelace with yaml configuration
lovelace:
dashboards:
lovelace:
mode: yaml
filename: ui-lovelace.yaml
title: Overview
icon: mdi:view-dashboard
show_in_sidebar: true
# Enable system health on info page
system_health:
# Enable using media sources
media_source:
# Define home zone for presence detection
zone:
- name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
radius: 50
icon: mdi:home
# Configure HTTP access
http:
use_x_forwarded_for: true
trusted_proxies: 10.42.0.0/16
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time.
history:
# View all events in a logbook
logbook:
# Enable Energy dashboard
energy:
# Configure the history of the logbook
recorder:
purge_keep_days: 30
db_url: !secret db_url
commit_interval: 10
exclude:
entity_globs:
- sensor.*_last_seen
# Track the sun
sun:
# Enable config via the interface
config:
# Configure custom sensors (legacy style)
sensor: !include configuration/sensor.yaml
# Configure template sensors (modern style)
template: !include configuration/template.yaml
# Configure binary sensors
binary_sensor: !include configuration/binary_sensor.yaml
# Configure input boolean switches
input_boolean: !include configuration/input_boolean.yaml
# Configure input select boxes
input_select: !include configuration/input_select.yaml
# Configure datetime values
input_datetime: !include configuration/input_datetime.yaml
# Configure number values
input_number: !include configuration/input_number.yaml
# Configure Sonos integration
sonos:
media_player:
hosts:
- 192.168.150.197
# Configure TTS engine
tts:
- platform: google_translate
language: nl
cache: true
cache_dir: /tmp/tts
time_memory: 300
service_name: google_say
# Configure notify platforms
notify:
- name: app_tim
platform: group
services:
- service: mobile_app_tim
- name: apps
platform: group
services:
- service: mobile_app_tim
- service: mobile_app_chantal
# Configure alarm panel
alarm_control_panel:
- platform: manual
name: Home Alarm
code_arm_required: false
arming_time: 30
trigger_time: 60
delay_time: 60
arming_states:
- armed_home
- armed_away
- armed_night
armed_home:
arming_time: 0
armed_night:
arming_time: 0
stream:
command_line:
sensor:
name: Raspberry PI CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: "{{ value | multiply(0.001) | round(2) }}"
state_class: measurement
light:
- platform: group
name: Tuin spots
entities:
- light.tuin_links_achterin_light
- light.tuin_links_voorin_light
- light.tuin_rechts_light
# Configure persons
person: !include configuration/person.yaml
# Configure groups
group: !include configuration/group.yaml
# Configure Google Assistant integration
google_assistant: !include configuration/google_assistant.yaml
# Configure automations
automation: !include_dir_merge_list configuration/automation/
# Configure scripts
script: !include_dir_named configuration/script/
# Configure scenes
scene: !include configuration/scene.yaml
# Configure alerts
alert: !include configuration/alert.yaml