-
Notifications
You must be signed in to change notification settings - Fork 4
/
configuration.yaml
135 lines (108 loc) · 2.99 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
homeassistant:
# Name of the location where Home Assistant is running
name: Frankfurt
country: DE
# Location required to calculate the time the sun rises and sets
latitude: !secret latitude_value
longitude: !secret longitude_value
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 107
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Berlin
customize: !include includes/customize.yaml
packages: !include_dir_named packages
auth_providers:
- type: homeassistant
default_config:
config:
logger:
default: error
system_health:
# influxdb:
# host: !secret influxdb_ip
# username: homeassistant
# password: !secret influxdb_password
# max_retries: 10
# include:
# domains:
# - sensor
# - binary_sensor
recorder:
purge_keep_days: 30
include: !include includes/include.yaml
exclude: !include includes/exclude.yaml
# View all events in a logbook
logbook:
include: !include includes/include.yaml
exclude: !include includes/exclude.yaml
http:
ssl_certificate: !secret ssl_certificate_path
ssl_key: !secret ssl_private_key
ip_ban_enabled: false
login_attempts_threshold: 3
# Enables support for tracking state changes over time.
history:
my:
# Support for iOS app
ios:
# Track the sun
sun:
input_number:
sonos_speaker:
name: Volume
initial: 0.1
min: 0
max: 1
step: 0.01
# fan:
# platform: xiaomi_miio_fan
# name: Fan
# host: 192.168.178.38
# token: !secret fan_token
zone:
- name: Work User 1
latitude: !secret lat_zone_1
longitude: !secret long_zone_1
- name: Work User 2
latitude: !secret lat_zone_2
longitude: !secret long_zone_2
person:
- name: !secret user_1
id: user_1
device_trackers:
- device_tracker.batphone
- device_tracker.batphone_app
- name: !secret user_2
id: user_2
device_trackers:
- device_tracker.user_2_iphone
# - device_tracker.user_2_iphone_app
notify:
- name: devices_user_1
platform: group
services:
- service: mobile_app_batphone
- service: mobile_app_batmac
zha:
custom_quirks_path: /config/custom_zha_quirks/
##########################
# Includes
##########################
sensor: !include includes/sensors.yaml
binary_sensor: !include includes/binary_sensor.yaml
automation: !include_dir_merge_list automation/
script: !include includes/scripts.yaml
group: !include includes/groups.yaml
switch: !include includes/switch.yaml
input_boolean: !include includes/inputs.yaml
shell_command: !include includes/shell_commands.yaml
light: !include includes/lights.yaml
homekit: !include includes/homekit.yaml
input_select: !include includes/input_select.yaml
cover: !include includes/cover.yaml
alarm_control_panel: !include includes/alarm_control_panel.yaml
mqtt: !include includes/mqtt.yaml
template: !include includes/template.yaml
utility_meter: !include includes/utility_meter.yaml