-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
174 lines (136 loc) · 3.79 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
homeassistant:
# Name of the location where Home Assistant is running
name: NYC
# Location required to calculate the time the sun rises and sets
latitude: !secret nyc_latitude
longitude: !secret nyc_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 23
# 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: America/New_York
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
# introduction:
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes/
# Enables configuration UI
config:
# Enable ios app integration (I think)
ios:
# Enable MQ Telemetry Transport protocol
# with no arguments it will setup the internal broker
mqtt:
#broker: 127.0.0.1
#port: 1883
#username: !secret mqtt_username
#password: !secret mqtt_password
#sad_lamp:
# topic: sad_lamp
http:
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_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
# commenting out to try to not have *everything* show up on the dashboard
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:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Recognize workdays for automations
binary_sensor:
- platform: workday
country: US
# Spotify
media_player:
- platform: spotify
client_id: !secret spotify_id
client_secret: !secret spotify_secret
# Weather prediction
sensor:
- platform: yr
# Text to speech
tts:
#- platform: google
# Cloud
cloud:
light tower1:
platform: hue
light tower2:
platform: hue
light tower3:
platform: hue
light kitchen_color:
platform: hue
light kitchen2:
platform: hue
light kitchen3:
platform: hue
light entry1:
platform: hue
light entry2:
platform: hue
light bathroomcolor:
platform: hue
light bathroom2:
platform: hue
light track1:
platform: hue
light track2:
platform: hue
light track3:
platform: hue
light track4:
platform: hue
light lamp:
platform: lifx
light:
- platform: mqtt
name: "Sad Lamp"
command_topic: "hass/feeds/sad-lamp.command"
state_topic: "hass/feeds/sad-lamp.state"
input_select: !include input_select.yaml
group: !include_dir_merge_named groups/
scene: !include scenes.yaml
automation: !include automations.yaml
script: !include scripts.yaml
logger:
default: warning
logs:
homeassistant.components.mqtt: debug
binary_sensor 18fe34d40b4d:
- name: "Motion sensor"
platform: mqtt
state_topic: "/18fe34d40b4d/in0/state"
device_class: motion
- name: "Front door"
platform: mqtt
state_topic: "/18fe34d40b4d/in1/state"
light 18fe34d40b4d:
- name: "Thing Red"
platform: mqtt
command_topic: "/18fe34d40b4d/out2/status"
state_topic: "/18fe34d40b4d/out2/state"
- name: "Thing Blue"
platform: mqtt
command_topic: "/18fe34d40b4d/out3/status"
state_topic: "/18fe34d40b4d/out3/state"