-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
181 lines (147 loc) · 3.92 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
homeassistant:
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
mobile_app:
ios:
logger:
default: warning
logs:
homeassistant.helpers.script: debug
# Enables configuration UI
config:
http:
ssl_certificate: /home/homeassistant/.homeassistant/ssl/<fqdn>.cert
ssl_key: /home/homeassistant/.homeassistant/ssl/fqdn>.key
server_port: 8123
login_attempts_threshold: 10
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
recorder:
# Delete events and states older than 2 weeks
purge_keep_days: 3
auto_purge: true
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
sensor:
- platform: krisinformation
name: "Krisinformation Stockholm"
county: "Stockholms län"
latitude: <lat>
longitude: <lng>
radius: 100
- platform: template
sensors:
unavailable_entities:
friendly_name: Unavailable Entities
unit_of_measurement: entities
icon_template: "{{ 'mdi:check-circle' if is_state('sensor.unavailable_entities','0') else 'mdi:alert-circle' }}"
value_template: >
{{ states|selectattr('state','in',['unavailable','unknown','none'])|rejectattr('domain','eq','group')
|rejectattr('entity_id','in',state_attr('group.ignored_entities','entity_id'))|list|count }}
attribute_templates:
entities: >
{{ states|selectattr('state','in',['unavailable','unknown','none'])|rejectattr('domain','eq','group')
|rejectattr('entity_id','in',state_attr('group.ignored_entities','entity_id'))|map(attribute='entity_id')|join(',') }}
# Text to speech
tts:
- platform: google_translate
service_name: google_say
# Cloud
#cloud:
vacuum:
platform: xiaomi_miio
host: <ip>
token: <token>
notify:
- name: NOTIFY_TELEGRAM
platform: telegram
chat_id: -<chat_id>
telegram_bot:
- platform: polling
api_key: <apikey>
allowed_chat_ids:
- -<chat_id>
tesla:
username: <user>
password: <pass>
scan_interval: 660
influxdb:
host: <ip>
database: <dbname>
username: <user>
password: <pass>
homekit:
filter:
include_domains:
- climate
- input_boolean
- sensor
- switch
- light
exclude_entities:
- light.conbee
- binary_sensor.updater
name: Home Assistant Bridge
input_boolean:
simrig:
name: Sim Rig
system_health:
wake_on_lan:
switch:
- platform: wake_on_lan
name: "Sim Rig PC (On/Off)"
mac: <mac>
host: <ip>
turn_off:
service: shell_command.turn_off_simrigpc
shell_command:
turn_off_simrigpc: '/usr/bin/net rpc shutdown -f -t 300 -I <ip> -U <user>%<pass>'
weather:
- platform: darksky
api_key: <apikey>
latitude: <lat>
longitude: <lng>
units: si
mode: daily
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
camera:
- platform: uvc
nvr: <ip>
key: <key>
- platform: generic
name: Framsida
still_image_url: "http://<ip>:7080/api/2.0/snapshot/camera/<id>?force=true&apiKey=<apikey>"
stream_source: "rtsp://<ip>:7447/<id>"
- platform: ffmpeg
name: 3D Cam
input: "http://<fqdn>/webcam/?action=stream"
sonos:
media_player:
hosts:
- <ip>
octoprint:
host: <ip>
api_key: <apikey>
bed: true
number_of_tools: 1
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml