-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
224 lines (224 loc) · 5.82 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
- id: '1557608386419'
alias: Lights on when the sun sets or when people get home between 4pm-11pm
trigger:
- event: sunset
offset: -01:00:00
platform: sun
- entity_id: group.us
platform: state
to: home
condition:
- condition: state
entity_id: device_tracker.86_d5_df_84_0e_d9
state: home
- before: '23:00:00'
condition: time
- condition: state
entity_id: device_tracker.70_3c_69_c7_58_ce
state: home
action:
- data:
group_name: living room
scene_name: the best lights
service: hue.hue_activate_scene
- id: '1575324459786'
alias: LEDs on when iGLaDOS awakes
trigger:
- platform: state
entity_id: device_tracker.86_d5_df_84_0e_d9
to: home
condition:
- condition: time
after: '10:00:00'
before: '23:00:00'
action:
- service: script.leds_on
- id: '1575324459789'
alias: LEDs on when GLaDOS awakes
description: ''
trigger:
- platform: state
entity_id: device_tracker.68_05_ca_a2_18_c7
to: home
condition:
- condition: time
after: '10:00:00'
before: '23:00:00'
action:
- service: script.leds_on
- id: '1575324459791'
alias: LEDs on when Pixel is home
description: ''
trigger:
- platform: state
entity_id: device_tracker.86_d5_df_84_0e_d9
to: home
condition:
- condition: time
after: '16:00:00'
before: '23:00:00'
action:
- service: script.leds_on
# - id: '1576003901136'
# alias: Bedroom lights on when bedroom door opens
# description: ''
# trigger:
# - device_id: 29f52d54203f4cd48b1d053b3319a2b3
# domain: binary_sensor
# entity_id: binary_sensor.openclose_2
# platform: device
# type: opened
# condition:
# - before: '22:30:00'
# condition: time
# - after: sunset
# after_offset: '-2'
# condition: sun
# - condition: device
# device_id: 5bebaa9be2214682826b754252f4d607
# domain: light
# entity_id: light.hue_color_candle_1
# for:
# hours: 0
# minutes: 0
# seconds: 15
# type: is_off
# - condition: device
# device_id: 91920de1f7de44cabbf2a681328e030d
# domain: light
# entity_id: light.hue_color_candle_1_2
# for:
# hours: 0
# minutes: 0
# seconds: 15
# type: is_off
# action:
# - data:
# group_name: bedroom
# scene_name: Relax
# service: hue.hue_activate_scene
- id: '1578160420670'
alias: Boo Blaster's Battery Level 10% Notification
description: ''
trigger:
- below: 10
device_id: bfa6784bfe974f85b72484f407d45da5
domain: sensor
entity_id: sensor.kitchen_temperature_sensor_battery_level
platform: device
type: battery_level
condition: []
action:
- data:
message: Boo Blaster Battery Level Warning
title: You should replace Boo Blaster's battery soon. It's now at 10%.
service: notify.aaron
- id: '1578160565821'
alias: Boo Blaster's Battery Level 2% Notification
description: ''
trigger:
- below: 2
device_id: bfa6784bfe974f85b72484f407d45da5
domain: sensor
entity_id: sensor.kitchen_temperature_sensor_battery_level
platform: device
type: battery_level
condition: []
action:
- data:
message: Boo Blaster Battery Level Last Warning
title: You should replace Boo Blaster's battery now. It's at 2%.
service: notify.aaron
- id: '1578160762220'
alias: Rooster Brewster's Battery Level 2% Notification
description: ''
trigger:
- below: 2
device_id: 49345542c46c42a48ec45bda329cb90c
domain: sensor
entity_id: sensor.rooster_brewster_battery_level
platform: device
type: battery_level
condition: []
action:
- data:
message: Rooster Brewster Battery Level Last Warning
title: You should replace Rooster Brewster's battery now. It's at 2%.
service: notify.aaron
- id: '1578160849303'
alias: Rooster Brewster's Battery Level 10% Notification
description: ''
trigger:
- below: 10
device_id: 49345542c46c42a48ec45bda329cb90c
domain: sensor
entity_id: sensor.rooster_brewster_battery_level
platform: device
type: battery_level
condition: []
action:
- data:
message: Rooster Brewster Battery Level Warning
title: You should replace Rooster Brewster's battery soon. It's now at 10%.
service: notify.aaron
- id: '1578160949523'
alias: Bedroom Door Sensor Battery Level 5% Warning
description: ''
trigger:
- below: 5
device_id: 29f52d54203f4cd48b1d053b3319a2b3
domain: sensor
entity_id: sensor.bedroom_door_sensor_battery_level
platform: device
type: battery_level
condition: []
action:
- data:
message: Bedroom Door Sensor Battery Level Warning
title: You should replace the Bedroom Door Sensor's Battery. It's at 5%.
service: notify.aaron
- id: '1578161266325'
alias: Turn on FUN LIGHTS between 22:30-23:00
description: ''
trigger:
- device_id: 29f52d54203f4cd48b1d053b3319a2b3
domain: binary_sensor
entity_id: binary_sensor.openclose_2
platform: device
type: opened
condition:
- after: '22:30'
before: '23:00'
condition: time
- condition: device
device_id: 5bebaa9be2214682826b754252f4d607
domain: light
entity_id: light.hue_color_candle_1
type: is_off
- condition: device
device_id: 91920de1f7de44cabbf2a681328e030d
domain: light
entity_id: light.hue_color_candle_1_2
type: is_off
action:
- data:
group_name: bedroom
scene_name: Real human bean
service: hue.hue_activate_scene
- id: '1579211105318'
alias: living room lights on when the living room door wiggles
description: ''
trigger:
- device_id: ac457f7ca6bc437b936661568d1eca0d
domain: binary_sensor
entity_id: binary_sensor.vibration_8
platform: device
type: motion
condition:
- before: 02:00
condition: time
action:
- data:
group_name: living room
scene_name: the best lights
service: hue.hue_activate_scene