-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautomations.yaml
257 lines (257 loc) · 5.95 KB
/
automations.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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
- id: '1534036799047'
alias: People - Away
trigger:
- entity_id: input_boolean.people_home
platform: state
to: 'off'
condition: []
action:
- data:
entity_id:
- scene.lock_up
- scene.power_down
- scene.enable_activity_alerts
service: scene.turn_on
- data:
away_mode: away
service: nest.set_away_mode
- data:
message: Home was set to away mode.
title: Away
service: notify.ios_johns_iphone
- id: '1534038560883'
alias: People - Home
trigger:
- entity_id: input_boolean.people_home
platform: state
to: 'on'
condition: []
action:
- data:
entity_id:
- scene.disable_activity_alerts
service: scene.turn_on
- data:
away_mode: home
service: nest.set_away_mode
- data:
message: Home was set to Home mode.
title: Home
service: notify.ios_johns_iphone
- id: '1534641701462'
alias: It's getting late
trigger:
- at: '23:00'
platform: time
condition: []
action:
- data:
entity_id: scene.lock_up
service: scene.turn_on
- id: '1541901783262'
alias: Sunrise
trigger:
- event: sunrise
platform: sun
condition: []
action:
- alias: ''
data:
entity_id: switch.front_porch_lights
service: switch.turn_off
- id: '1541901870155'
alias: Sunset
trigger:
- event: sunset
platform: sun
condition: []
action:
- data:
entity_id: switch.front_porch_lights
service: switch.turn_on
- id: '1542326348518'
alias: Unexpected Motion
trigger:
- entity_id: binary_sensor.aarlo_motion_garage
platform: state
to: 'on'
- entity_id: binary_sensor.aarlo_motion_front_porch
platform: state
to: 'on'
condition:
- condition: state
entity_id: input_boolean.people_home
state: 'off'
action:
- data:
data:
push:
category: alarm
message: Motion detected at home.
title: Unexpected Motion
service: notify.notify
- id: '1542332023288'
alias: Alarm - Trigger while "Armed Away"
trigger:
- entity_id: binary_sensor.garage_motion
platform: state
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: armed_away
action:
- data:
entity_id: alarm_control_panel.ha_alarm
service: alarm_control_panel.alarm_trigger
- id: '1542333950947'
alias: Alarm - Trigger Manually
trigger:
- event_data:
actionName: SOUND_ALARM
event_type: ios.notification_action_fired
platform: event
condition: []
action:
- data:
entity_id: alarm_control_panel.ha_alarm
service: alarm_control_panel.alarm_trigger
- id: '1542334116219'
alias: Alarm - Triggered Actions
trigger:
- entity_id: alarm_control_panel.ha_alarm
platform: state
to: triggered
condition: []
action:
- data:
message: ALARM! The alarm has been triggered
service: notify.notify
- id: '1542334997546'
alias: Alarm - Disarmed Actions
trigger:
- entity_id: alarm_control_panel.ha_alarm
platform: state
to: disarmed
condition: []
action:
- data:
entity_id: switch.wink_siren
service: switch.turn_off
- id: '1545801775488'
alias: Water Leak Detection
trigger:
- entity_id: binary_sensor.mechanical_room_leak
platform: state
to: 'on'
condition: []
action:
- data:
message: There is a leak in the basement!
title: Leak Detected
service: notify.notify
- id: '1550807760586'
alias: Rec Room Double Tap Up
trigger:
- event_data:
entity_id: zwave.rec_room_smart_dimmer
scene_data: 3
scene_id: 2
event_type: zwave.scene_activated
platform: event
condition: []
action:
- data:
entity_id: light.dining_room
service: light.turn_on
- id: can_open_windows
alias: '[Thermal Energy - Push Notification] Open Windows'
trigger:
- entity_id: binary_sensor.can_use_thermal_energy
from: 'off'
platform: state
to: 'on'
condition:
- condition: state
entity_id: input_boolean.windows_open
state: 'off'
- after: 08:00:00
before: '22:00:00'
condition: time
action:
- data:
data:
push:
category: conserve_energy
message: It's nice outside! Would you like to save some energy and open the
windows?
title: Open Windows
service: notify.notify
- data:
entity_id: automation.can_open_windows
service: automation.turn_off
- delay: '12:00'
- data:
entity_id: automation.can_open_windows
service: automation.turn_on
- id: '1566184256459'
alias: '[Thermal Energy - Push Action] Open Windows'
trigger:
- event_data:
actionName: YES_ACTION
event_type: ios.notification_action_fired
platform: event
condition:
- condition: state
entity_id: input_boolean.windows_open
state: 'off'
action:
- data:
entity_id: input_boolean.windows_open
service: input_boolean.turn_on
- id: '1566184653353'
alias: '[Thermal Energy] Turn off HVAC'
trigger:
- entity_id: input_boolean.windows_open
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
entity_id: climate.living_room
service: climate.turn_off
- id: '1566264439433'
alias: '[Thermal Energy - Push Notification] Close Window'
trigger:
- entity_id: climate.living_room
from: 'off'
platform: state
condition:
- condition: state
entity_id: input_boolean.windows_open
state: 'on'
action:
- data:
data:
push:
category: conserve_energy
message: HVAC was turned on, but it looks like your windows might be open. Are
the windows closed?
title: Close Windows
service: notify.notify
- id: '1566264959545'
alias: '[Thermal Energy - Push Action] Close Windows'
trigger:
- event_data:
actionName: YES_ACTION
event_type: ios.notification_action_fired
platform: event
condition:
- condition: state
entity_id: input_boolean.windows_open
state: 'on'
action:
- data:
entity_id: input_boolean.windows_open
service: input_boolean.turn_off