forked from jumpalottahigh/YAR-Home-Assistant-Configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
179 lines (145 loc) · 3.59 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
homeassistant:
# Name of the location where Home Assistant is running
name: Yanev Residence
# Location required to calculate the time the sun rises and sets
latitude: !secret home_latitude
longitude: !secret home_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret home_elevation
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: !secret time_zone
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
# Add themes
themes: !include themes.yaml
# Enable ES6 features
javascript_version: latest
# Add Alexa integration
emulated_hue:
host_ip: !secret emulated_hue_ip
listen_port: 80
# Google Home set up
# type: google_home
http:
base_url: !secret ha_base_url
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
api_password: !secret ha_api_password
map:
# Tradfri
# tradfri:
# host: !secret tradfri_ip
# api_key: !secret tradfri_api
# allow_tradfri_groups: false
# Checks for available updates
updater:
# 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:
# View all events in a logbook
logbook:
# Shopping list
# shopping_list:
# Track the sun
sun:
# Config panel enabler
config:
# Home Assistant Cloud
# cloud:
# Text to speech
tts:
- platform: google
language: 'en-us'
# Media devices
media_player:
- platform: samsungtv
host: !secret samsung_tv_ip
mac: !secret samsung_tv_mac
name: Livingroom TV
port: 8001
- platform: cast
host: !secret chromecast_ip
name: Livingroom Chromecast
- platform: cast
host: !secret google_home_ip
- platform: plex
# Mosquitto set up running on HA Pi
mqtt:
broker: core-mosquitto
# Device trackers
device_tracker:
- platform: owntracks
max_gps_accuracy: 200
consider_home: 180
# TODO: Work on the know devices list
- platform: netgear
host: !secret netgear_ip
username: !secret netgear_username
password: !secret netgear_password
interval_seconds: 10
consider_home: 180
# IFTT Maker channel
ifttt:
key: !secret ifttt_maker_key
# Notifications
notify:
- platform: pushbullet
name: YAR
api_key: !secret pushbullet_key
# Define zones for triggering actions
zone:
name: Sofi's Work
latitude: !secret sofi_work_latitude
longitude: !secret sofi_work_longitude
radius: 20
icon: mdi:beer
zone 2:
name: Georgi's Work
latitude: !secret georgi_work_latitude
longitude: !secret georgi_work_longitude
icon: mdi:security
zone 3:
name: Mr. President
latitude: !secret mr_president_latitude
longitude: !secret mr_president_longitude
icon: mdi:memory
###############################################
# Includes
###############################################
# Automations
automation: !include_dir_merge_list automations/
# Cameras
camera: !include cameras.yaml
# Groups
group: !include groups.yaml
# Input select
input_select: !include input_select.yaml
# Sensors
sensor: !include sensors.yaml
# Switches
switch: !include switches.yaml
# Lights
light: !include lights.yaml
# Scenes
scene: !include scenes.yaml
input_number:
office_animation_speed:
name: Office Animation Speed
initial: 150
min: 1
max: 150
step: 10
christmas_tree_animation_speed:
name: Christmas Tree Animation Speed
initial: 150
min: 1
max: 150
step: 10