-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
62 lines (51 loc) · 1.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
homeassistant:
customize: !include customize.yaml
external_url: !secret external_url
internal_url: !secret internal_url
packages: !include_dir_named packages
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
stream:
ll_hls: true
part_duration: 0.75
segment_duration: 6
frontend:
themes: !include_dir_merge_named themes
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- 10.1.1.0/24
- 172.50.0.0/16
- 172.18.0.0/24
# Text to speech
tts:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#light: !include_dir_list lights
binary_sensor: !include_dir_list binary_sensors
homekit: !include homekit.yaml
notify:
- name: brady_holly_iphones
platform: group
services:
- service: mobile_app_bradys_iphone
- service: mobile_app_holly_iphone
recorder:
db_url: !secret database_pass
logger:
default: warning
wake_on_lan:
template:
- sensor:
- name: "Lights On"
unit_of_measurement: "Lights On"
state: >
{{ states.light|selectattr('state','equalto','on')|rejectattr('entity_id','search','outside')|list|length }}
- sensor:
- name: "Switches On"
unit_of_measurement: "Switches On"
state: >
{{ states.switch|selectattr('state','equalto','on')|list|length }}