-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
268 lines (238 loc) · 5.48 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
258
259
260
261
262
263
264
265
266
267
268
- id: '1555071586293'
alias: Dishwasher finished (Alexa)
trigger:
- entity_id: binary_sensor.dishwasher
platform: state
to: 'off'
condition: []
action:
- data:
data:
type: announce
message: Spülmaschine ist fertig
service: notify.alexa_media_echo_weiss_wohnzimmer
- id: '1555141985602'
alias: Washing machine finished (Alexa)
trigger:
- entity_id: binary_sensor.washing_machine
platform: state
to: 'off'
condition: []
action:
- data:
data:
type: announce
message: Waschmaschine ist fertig
service: notify.alexa_media_echo_weiss_wohnzimmer
- id: '1555142049412'
alias: Dryer finished (Alexa)
trigger:
- entity_id: binary_sensor.dryer
platform: state
to: 'off'
condition: []
action:
- data:
data:
type: announce
message: Trockner ist ferting
service: notify.alexa_media_echo_weiss_wohnzimmer
- id: '1555147661344'
alias: Dishwasher finished (text based)
trigger:
- entity_id: binary_sensor.dishwasher
platform: state
to: 'off'
condition: []
action:
- service: notify.telgram_clay
data:
title: Spülmaschine fettig
message: 'Hallo,
ich bin deine Spülmaschine. Ich wäre jetzt fertig.
LG
Deine Spülmaschine
'
- service: notify.telgram_nancy
data:
title: Spülmaschine fettig
message: 'Hallo,
ich bin deine Spülmaschine. Ich wäre jetzt fertig.
LG
Deine Spülmaschine
'
mode: single
- id: '1555147824684'
alias: Dryer finished (text based)
trigger:
- entity_id: binary_sensor.dryer
platform: state
to: 'off'
condition: []
action:
- service: notify.telgram_clay
data:
title: Trockner ferting
message: 'Hallo,
ich bin dein Trockner. Ich wäre jetzt ferting.
LG
Dein Trockner
'
- service: notify.telgram_nancy
data:
title: Trockner ferting
message: 'Hallo,
ich bin dein Trockner. Ich wäre jetzt ferting.
LG
Dein Trockner
'
mode: single
- id: '1555147878801'
alias: Washing machine finished (text based)
trigger:
- entity_id: binary_sensor.washing_machine
platform: state
to: 'off'
condition: []
action:
- service: notify.telgram_clay
data:
title: Waschmaschine fertig
message: 'Hallo,
ich bin deine Waschmaschine. Ich wäre jetzt fertig.
LG
Deine Waschmaschine
'
- service: notify.telgram_nancy
data:
title: Waschmaschine fertig
message: 'Hallo,
ich bin deine Waschmaschine. Ich wäre jetzt fertig.
LG
Deine Waschmaschine
'
mode: single
- id: '1555148232966'
alias: Matrix bot commands
trigger:
- event_data:
command: my_command
event_type: matrix_command
platform: event
condition: []
action:
- data:
message: Hi
service: notify.matrix_notify
- id: '1556031753506'
alias: Bathroom cover down
trigger:
- event: sunset
platform: sun
condition: []
action:
- data:
entity_id: cover.401401
position: '45'
service: cover.set_cover_position
- id: '1556032240161'
alias: Bathroom cover up
trigger:
- event: sunrise
platform: sun
- at: 09:30:00
platform: time
condition:
- after: sunrise
condition: sun
- after: 09:30:00
condition: time
action:
- data:
entity_id: cover.401401
service: cover.open_cover
- id: '1607873437066'
alias: Mara warning 1 (turn on light)
description: ''
trigger:
- type: motion
platform: device
device_id: 9d95a55f3c5311eb8cc08bd225275d27
entity_id: binary_sensor.tradfri_motion_sensor_01
domain: binary_sensor
condition: []
action:
- service: light.turn_on
data:
brightness_pct: 80
color_name: green
entity_id: light.living_room_bulb01
mode: single
- id: '1607873478722'
alias: Mara warning 2 (turn off light)
description: ''
trigger:
- type: no_motion
platform: device
device_id: 9d95a55f3c5311eb8cc08bd225275d27
entity_id: binary_sensor.tradfri_motion_sensor_01
domain: binary_sensor
condition: []
action:
- type: turn_off
device_id: 778fa2f50ecc3b5c5814a04dded34f4b
entity_id: light.living_room_bulb01
domain: light
mode: single
- id: '1607880929423'
alias: Mara warning 3 (Alexa)
description: ''
trigger:
- type: motion
platform: device
device_id: 9d95a55f3c5311eb8cc08bd225275d27
entity_id: binary_sensor.tradfri_motion_sensor_01
domain: binary_sensor
condition: []
action:
- service: notify.alexa_echo_weiss_wohnzimmer
data:
message: Es gibt interessante Bewegungen im ersten Stock
data:
type: announce
mode: single
- id: '1616251001045'
alias: Set warm_day_fixed
description: ''
trigger:
- platform: time
at: 05:30
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.warm_day_realtime
state: 'off'
sequence:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.warm_day_fixed
default:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.warm_day_fixed
mode: single
- id: '1637646141951'
alias: Vorgarten aus bei Sonnenaufgang
description: ''
trigger:
- platform: sun
event: sunrise
offset: +00:05:00
condition: []
action:
- service: switch.turn_off
target:
entity_id: switch.vorgarten_licht_1
mode: single