forked from brianjking/ha-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
168 lines (156 loc) · 3.62 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
homeassistant:
name: Home Farm Close
latitude: !secret latitude
longitude: !secret longitude
elevation: 10
unit_system: metric
time_zone: Europe/London
customize: !include customize.yaml
customize_glob: !include customize_glob.yaml
frontend:
themes: !include themes.yaml
javascript_version: latest
extra_html_url:
- /local/custom_ui/state-card-tiles.html
config:
http:
api_password: !secret http_password
base_url: !secret base_url
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
ip_ban_enabled: True
login_attempts_threshold: 3
mqtt:
broker: localhost
notify:
- name: slack
platform: slack
api_key: !secret slack_api_key
default_channel: '#home'
recorder:
purge_interval: 1
purge_keep_days: 7
exclude:
entities:
- sensor.average_load_1m
- sensor.average_load_5m
- sensor.average_load_15m
- sensor.since_last_boot
- sensor.ram_used
- sensor.disk_used_
- sensor.disk_used_mnt
- sensor.speedtest_download
- sensor.last_backup
- sensor.desk_lights_energy
- sun.sun
- camera.drive
- camera.hall
- camera.landing
- camera.garden
- camera.thomas
- zwave.office
- zwave.thomas
- sensor.thomas_alarm_type
- sensor.thomas_alarm_level
- sensor.thomas_sourcenodeid
- sensor.thomas_burglar
- zwave.desk_lights
- group.all_switches
- sensor.pihole_ads_percentage_today
- group.all_motion_sensors
- sensor.lights_on_count
- automation.turn_on_office_lights_on_motion
- switch.electric_blanket
- group.motion
- group.thomas
- sensor.ha_uptime
updater:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
sensor: !include sensors.yaml
camera: !include cameras.yaml
weblink: !include weblinks.yaml
discovery:
history:
logbook:
exclude:
entities:
- sensor.average_load_15m
- sensor.average_load_1m
- sensor.since_last_boot
- sensor.average_load_5m
- group.all_motion_sensors
- group.thomas
logger:
default: warn
logs:
#suppress the foscam errors
urllib3.connectionpool: critical
map:
sun:
ios:
device_tracker:
zwave:
usb_path: /dev/ttyACM0
tradfri:
host: 192.168.1.97
allow_tradfri_groups: false
zone:
- name: SEL
latitude: 53.201563
longitude: -0.590652
icon: mdi:laptop-mac
- name: Saxilby School
latitude: 53.268870
longitude: -0.657313
icon: mdi:school
shell_command: !include shell_commands.yaml
switch:
- platform: tplink
host: 192.168.1.117
- platform: tplink
host: 192.168.1.121
binary_sensor:
- platform: command_line
name: landing_motion
command: !secret get_landing_motion_status
value_template: >-
{%- if value == "2" -%}
motion
{%- else -%}
none
{%- endif -%}
payload_on: motion
payload_off: none
device_class: motion
scan_interval: 5
- platform: mqtt
state_topic: 'home/nodemcu/2/motion'
device_class: 'motion'
name: 'office_motion'
value_template: ' {{ value_json.motion }}'
input_boolean:
enable_motion_alerts:
initial: on
enable_cameras:
initial: on
enable_automatic_hall_lights:
initial: on
enable_automation_office_lights:
initial: on
panel_custom:
- name: floorplan
sidebar_title: Floorplan
sidebar_icon: mdi:floor-plan
url_path: floorplan
config:
config: /local/custom_ui/floorplan/floorplan.yaml
input_number:
porch_animation_speed:
name: Porch Animation Speed
mode: slider
initial: 150
min: 1
max: 150
step: 10