forked from matt8707/hass-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
executable file
·297 lines (261 loc) · 9.16 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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
homeassistant:
name: Hem
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation
unit_system: metric
time_zone: Europe/Stockholm
packages: !include_dir_named include
allowlist_external_dirs: [/config/]
#default_config:
history:
mobile_app:
sun:
system_health:
#config flow
#hue, pyatv, broadlink, mqtt, ps4, braviatv, IPP
lovelace:
mode: yaml
resources:
[ {url: /hacsfiles/bar-card/bar-card.js, type: module},
{url: /hacsfiles/button-card/button-card.js, type: module},
{url: /hacsfiles/light-entity-card/light-entity-card.js, type: js},
{url: /hacsfiles/light-popup-card/light-popup-card.js, type: module},
{url: /hacsfiles/lovelace-card-mod/card-mod.js, type: module},
{url: /hacsfiles/lovelace-hui-element/hui-element.js, type: module},
{url: /hacsfiles/lovelace-layout-card/layout-card.js, type: module},
{url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js, type: module},
{url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js, type: module},
{url: /hacsfiles/mini-media-player/mini-media-player-bundle.js, type: module},
{url: /hacsfiles/swipe-card/swipe-card.js, type: module},
{url: /hacsfiles/transmission-card/transmission-card.js, type: js},
{url: '/local/kiosk-mode.js?v=145', type: module},
{url: '/local/calendar-card.js?v=31091', type: module},
{url: '/local/stack-in-card.js?v=101', type: module},
{url: '/local/valetudo-map-card.js?v=42dbceb', type: js},
{url: '/local/custom_icons.js?v=25052001', type: module},
{url: /local/font.css, type: css} ]
logger:
default: warning
logs:
homeassistant.components.homekit.type_media_players: error
homeassistant.components.command_line.sensor: error
homeassistant.components.rest.sensor: error
bravia_tv.braviarc: error
homeassistant.components.websocket_api: fatal
homeassistant.helpers.service: error
homeassistant.components.media_player: error
homeassistant.helpers.entity: error
homeassistant.helpers.event: fatal
homeassistant.components.ipp: fatal
recorder:
purge_keep_days: 2
include:
entities:
['person.mattias', 'person.sanja','sensor.synology_network_up', 'sensor.aktuellt_spotpris',
'sensor.synology_network_down', 'sensor.hall_temperature']
person:
- name: Mattias
id: mattias6264b484ba6c360555c9a0547
user_id: 1b8e4036264b484ba6c360555c9a0547
device_trackers:
['device_tracker.mattias', 'device_tracker.iphone', 'device_tracker.mattias_bluetooth']
- name: Sanja
id: sanja4543958678435345345345345
device_trackers:
['device_tracker.sanja', 'device_tracker.sanja_bluetooth']
device_tracker:
- platform: iphonedetect
consider_home: 120
new_device_defaults:
track_new_devices: false
hosts:
Mattias: !secret iphonedetect_mattias
Sanja: !secret iphonedetect_sanja
- platform: bluetooth_tracker
wemo:
discovery: false
static: !secret wemo_static
cast:
media_player:
- platform: samsungtv_tizen
host: !secret samsungtv_host
mac: !secret samsungtv_mac
hacs:
token: !secret hacs_token
synology_dsm:
- host: !secret synologydsm_host
port: !secret synologydsm_port
ssl: false
username: !secret synologydsm_username
password: !secret synologydsm_password
google:
client_id: !secret google_client_id
client_secret: !secret google_client_secret
vacuum:
- platform: xiaomi_miio
host: !secret roborock_host
token: !secret roborock_token
tts:
- platform: google_translate
language: 'sv'
base_url: !secret tts_base_url
mqtt:
broker: !secret mqtt_broker
discovery: true
discovery_prefix: homeassistant
browser_mod:
devices:
94414206-952e1e9a:
name: imac_chrome
c2080cea-6627150a:
name: tablet
timer:
laundry:
duration: 01:00:00
icon: mdi:washing-machine
shell_command:
imac_switchbot_rpi: !secret imac_switchbot_rpi
imac_off: !secret imac_off
imac_sleep: !secret imac_sleep
imac_restart: !secret imac_restart
imac_notify_motion_hallway: !secret imac_notify_motion_hallway
imac_notify_laundry: !secret imac_notify_laundry
monitors_volume_slider: !secret monitors_volume_slider
monitors_mute_off: !secret monitors_mute_off
monitors_mute_on: !secret monitors_mute_on
fullykiosk_brightness_slider: !secret fullykiosk_brightness_slider
fullykiosk_load_start_url: !secret fullykiosk_load_start_url
fullykiosk_restart_app: !secret fullykiosk_restart_app
fullykiosk_screensaver_on: !secret fullykiosk_screensaver_on
fullykiosk_screensaver_off: !secret fullykiosk_screensaver_off
reference_click: !secret reference_click
reference_kill: !secret reference_kill
reference_monitors: !secret reference_monitors
reference_headphones: !secret reference_headphones
ha_dockermon_restart_container: !secret ha_dockermon_restart_container
clear_logs: truncate -s 0 /config/home-assistant.log
kwh_data_update: !secret kwh_data_update
light:
- platform: group
name: Belysning
entities: ['light.tvlampa', 'light.golvlampa']
- platform: group
name: Skrivbord
entities: ['light.fonsterlampa', 'light.storlampa']
- platform: group
name: Hall
entities: ['light.hallampa_1', 'light.hallampa_2', 'light.hallampa_3']
- platform: group
name: Badrum
entities: ['light.vask_vanster', 'light.vask_hoger']
- platform: group
name: Taklampor
entities: ['light.spot_1', 'light.spot_2']
- platform: group
name: Sänglampor
entities: ['light.mattias', 'light.sanja']
- platform: group
name: all_lights_exclude_hall
entities:
['light.belysning', 'light.datorlampa', 'light.taklampor', 'light.skrivbord',
'light.badrum', 'light.kladkammare_2', 'light.sanglampor']
ios:
push:
categories:
- name: Home Assistant
identifier: ios_hass
actions:
- identifier: start_watchtower
title: Uppdatera
homekit:
ip_address: !secret homekit_ip_address
auto_start: false
filter:
include_entities: &include_entities
['fan.studio_wemo', 'switch.wemo_monitors', 'switch.computer_imac', 'media_player.sony_bravia', 'switch.air_purifier', 'lock.dator',
'media_player.samsung_tv_remote', 'switch.playstation_4', 'input_boolean.motion_hall', 'fan.sovrum_anslut', 'script.samsung_tv_energy_saving',
'input_boolean.motion_garderob', 'input_boolean.motion_badrum', 'script.home_arrive', 'script.home_leave', 'vacuum.xiaomi_vacuum_cleaner',
'person.mattias', 'person.sanja']
entity_config:
fan.studio_wemo:
name: Fläkt 2
fan.sovrum_anslut:
name: Fläkt
switch.air_purifier:
name: Luftrenare
script.samsung_tv_energy_saving:
name: Eko
switch.wemo_monitors:
name: Monitorer
type: outlet
switch.computer_imac:
name: Dator
media_player.sony_bravia:
name: Tv
feature_list:
- feature: on_off
media_player.samsung_tv_remote:
name: Samsung Tv
feature_list:
- feature: on_off
switch.playstation_4:
name: Playstation
script.home_arrive:
name: Hemma
script.home_leave:
name: Stäng allt
vacuum.xiaomi_vacuum_cleaner:
name: Morty
cloud:
google_actions:
filter:
include_entities: *include_entities
entity_config:
fan.studio_wemo:
name: Fläkt 2
aliases: ['Fläkt', 'Fläkten']
room: Studio
fan.sovrum_anslut:
name: Fläkt
aliases: ['Fläkt', 'Fläkten']
room: Sovrum
switch.air_purifier:
name: Luftrenare
room: Sovrum
script.samsung_tv_energy_saving:
name: Eko
aliases: ['Eko', 'Eko-läge', 'Samsung eko']
room: Sovrum
switch.wemo_monitors:
name: Monitorer
room: Studio
switch.computer_imac:
name: Dator
aliases: ['Dator', 'Datorn', 'Datan', 'iMac']
room: Studio
media_player.sony_bravia:
name: Tv
aliases:
['Tv', 'Sony Tv', 'Sony Bravia Tv', 'Bravia Tv',
'Vardagsrums Tv', 'Vardagsrums Teven', 'Tv Vardagsrum']
room: Vardagsrum
media_player.samsung_tv_remote:
name: Samsung Tv
aliases: ['Samsung Tv', 'Sovrums Tv', 'Sovrums Teven', 'Tv Sovrum']
room: Sovrum
switch.playstation_4:
name: Playstation
aliases: ['Playstation', 'PS4', 'Playstation 4']
room: Vardagsrum
script.home_arrive:
name: Hemma
aliases: ['Hemma', 'Auto hemma', 'Jag är hemma']
room: Hall
script.home_leave:
name: Stäng allt
aliases: ['Stäng allt', 'Auto Stäng allt']
room: Hall
vacuum.xiaomi_vacuum_cleaner:
name: Morty
room: Vardagsrum