This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
199 lines (169 loc) · 4.46 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
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: !secret home_lat
longitude: !secret home_long
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret home_alt
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/New_York
customize: !include customize.yaml
customize_glob:
light.*:
custom_ui_state_card: state-card-custom-ui
state_card_mode: break-slider
stretch_slider: true
slider_theme:
min: 5
off_when_min: false
# Enables the frontend
frontend:
themes: !include_dir_named themes/
customizer:
custom_ui: local
# Enables configuration UI
config:
http:
# Uncomment this to add a password (recommended!)
# api_password: !secret http_password
# Uncomment this if you are using SSL or running in Docker etc
# base_url: example.duckdns.org:8123
# Checks for available updates
updater:
recorder:
purge_interval: 3
purge_keep_days: 7
# Discover some devices automatically
discovery:
ignore:
- plex_mediaserver
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time.
history:
# View all events in a logbook
logbook:
logger:
default: warn
logs:
homeassistant.components.mysensors: debug
mysensors: debug
# Track the sun
sun:
zwave:
usb_path: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F00786-if00-port0
zha:
usb_path: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F00786-if01-port0
database_path: /config/zigbee.db
sensor:
- platform: darksky
api_key: !secret weather_key
name: Weather
monitored_conditions:
- summary
- apparent_temperature
- apparent_temperature_max
- precip_type
- humidity
- icon
update_interval: '00:10'
- platform: speedtest
monitored_conditions:
- ping
- download
- upload
- platform: snmp
host: !secret desktopdave_ip
name: desktopdave_snmp
baseoid: 1.3.6.1.2.1.1.5.0
version: 2c
- platform: template
sensors:
desktopdave:
friendly_name: "Dave's Desktop"
value_template: "{% if is_state('sensor.desktopdave_snmp', 'desktop-dave') %}System Up{% else %}System Offline{% endif %}"
# Text to speech
tts:
platform: google
group: !include groups.yaml
device_tracker:
- platform: ddwrt
host: !secret router_ip
username: !secret router_user
password: !secret router_pass
track_new_devices: no
consider_home: 60
- platform: bluetooth_tracker
track_new_devices: no
notify:
- name: slack
platform: slack
api_key: !secret slack_key
default_channel: !secret slack_channel
input_boolean:
rocky_fed:
name: Rocky Ate
initial: off
icon: mdi:cat
sleep_mode:
name: Sleep Mode
icon: mdi:hotel
switch:
- platform: flux
lights:
- light.david__dresser
name: Flux
start_time: '6:00'
stop_time: '22:00'
stop_colortemp: 2200
disable_brightness_adjust: True
- platform: wake_on_lan
name: "Wake Dave's Desktop"
mac_address: !secret desktopdave_mac
host: !secret desktopdave_ip
automation: !include_dir_merge_list automation/
panel_custom:
- name: floorplan
sidebar_title: Floorplan
sidebar_icon: mdi:home
url_path: floorplan
config: !include floorplan.yaml
input_select:
pcoptions:
name: PC Power Options
options:
- None
- Sleep
- Shutdown
initial: None
icon: mdi:desktop-tower
shell_command:
shutdown_desktopdave: !secret desktopdave_shutdown
sleep_desktopdave: !secret desktopdave_suspend
script: !include_dir_named script/
mysensors:
gateways:
- device: '/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0'
persistence_file: '/home/homeassistant/.homeassistant/mysensors.json'
baud_rate: 115200
nodes:
2:
name: 'master_light'
6:
name: 'kitchen_multi'
version: '2.0'
light:
- platform: hue
host: !secret hue_ip
allow_hue_groups: true
binary_sensor:
- platform: template
sensors:
kitchen_light_1:
friendly_name: Kitchen Light Sensor
entity_id: sensor.kitchen_multi_1
value_template: "{{ states('sensor.kitchen_multi_1')|float > 1 }}"
device_class: light