-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
executable file
·172 lines (146 loc) · 4.03 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
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_lon
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret home_ele
# 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: !secret home_tz
# Customization file
customize: !include customize.yaml
auth_providers:
- type: homeassistant
- type: legacy_api_password
# Show links to resources in log and frontend
# introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Secrets are defined in the file secrets.yaml
api_password: !secret api_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
#discovery:
mqtt:
broker: mosquitto
username: !secret mqtt_user
password: !secret mqtt_pass
### --- no wemo devices setup at this time - 2019-01-02
# wemo:
# static:
# - 10.0.0.154
# 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:
recorder:
db_url: !secret mariadb_db
# Manual Switches
input_boolean:
houseguest:
name: House Guests
device_tracker:
- platform: owntracks_http
# Nest
nest:
client_id: !secret nest_cid
client_secret: !secret nest_sec
panel_iframe:
nodered:
title: Node-RED
url: 'https://nodered.wooster.xyz'
# notify:
# - name: hass_slack
# platform: slack
# api_key: !secret slack_key #key is not in secret file right now
# default_channel: "#random"
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: yweather
# - platform: tautulli
# api_key: !secret tautulli_key
# host: 10.0.0.30
# port: 8181
# Text to speech
tts:
- platform: google
cast:
media_player:
- host: 10.0.0.199
- name: Living Room
media_player:
- platform: samsungtv
host: 10.0.0.94
name: Big TV
- platform: universal
name: Big Screen
children:
- media_player.living_room
- media_player.big_tv
commands:
turn_on:
service: media_player.turn_on
data:
entity_id: media_player.living_room
turn_off:
service: media_player.turn_off
data:
entity_id: media_player.big_tv
volume_up:
service: media_player.volume_up
data:
entity_id: media_player.big_tv
volume_down:
service: media_player.volume_down
data:
entity_id: media_player.big_tv
volume_mute:
service: media_player.volume_mute
data:
entity_id: media_player.big_tv
attributes:
state: media_player.big_tv
source: media_player.living_room|source
source_list: media_player.big_tv|source_list
- platform: plex
switch:
- platform: template
switches:
houseguest:
value_template: "{{ is_state('input_boolean.houseguest', 'on') }}"
turn_on:
service: input_boolean.turn_on
data:
entity_id: input_boolean.houseguest
turn_off:
service: input_boolean.turn_off
data:
entity_id: input_boolean.houseguest
# Cloud
cloud:
#secret: !include secrets.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
# sensor: !include sensors.yaml