-
Notifications
You must be signed in to change notification settings - Fork 1
/
automations.yaml
318 lines (318 loc) · 8.39 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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
- id: '1618453221437'
alias: Formal Lights Toggle
description: ''
use_blueprint:
path: stu1811/zwave_js_inovelli_lzw30_sn_red_series_dimmer.yaml
input:
zwave_device: 96149711067e16f9e460b1bc5512274c
config_button:
- choose:
- conditions:
- condition: device
type: is_on
device_id: a5b1db4b20b67bd02a3e53bc86418b2a
entity_id: light.dog_light
domain: light
sequence:
- service: zwave_js.multicast_set_value
target:
device_id:
- a5b1db4b20b67bd02a3e53bc86418b2a
- f0fa43f0b0ea9817b19d80deda0b9f90
data:
command_class: '38'
property: targetValue
value: 0
- conditions:
- condition: device
type: is_off
device_id: a5b1db4b20b67bd02a3e53bc86418b2a
entity_id: light.dog_light
domain: light
sequence:
- service: zwave_js.multicast_set_value
data:
command_class: '38'
property: targetValue
value: 99
target:
device_id:
- a5b1db4b20b67bd02a3e53bc86418b2a
- f0fa43f0b0ea9817b19d80deda0b9f90
default:
- service: zwave_js.multicast_set_value
target:
device_id:
- f0fa43f0b0ea9817b19d80deda0b9f90
- a5b1db4b20b67bd02a3e53bc86418b2a
data:
command_class: '38'
property: targetValue
value: 99
- id: '1618540909358'
alias: Formal Goodnight
description: ''
trigger:
- platform: time
at: '22:00'
condition: []
action:
- type: turn_off
device_id: a5b1db4b20b67bd02a3e53bc86418b2a
entity_id: light.dog_light
domain: light
- type: turn_off
device_id: f0fa43f0b0ea9817b19d80deda0b9f90
entity_id: light.formal_corner
domain: light
mode: single
- id: '1618624170416'
alias: Formal sunset
description: ''
trigger:
- platform: sun
event: sunset
offset: -00:60:00
condition: []
action:
- type: turn_on
device_id: a5b1db4b20b67bd02a3e53bc86418b2a
entity_id: light.dog_light
domain: light
brightness_pct: 100
- type: turn_on
device_id: f0fa43f0b0ea9817b19d80deda0b9f90
entity_id: light.formal_corner
domain: light
brightness_pct: 100
mode: single
- id: '1627203583057'
alias: Away lights on
description: ''
trigger:
- platform: sun
event: sunset
condition:
- condition: state
entity_id: input_boolean.vacation
state: 'on'
action:
- type: turn_on
device_id: 962371c17c424f30f07dfa889cc9362e
entity_id: light.bottom_stairs
domain: light
brightness_pct: 100
- type: turn_on
device_id: 26b584f450abdc6ef481264f6b6868b4
entity_id: light.kitchen_table
domain: light
brightness_pct: 100
- type: turn_on
device_id: 1ce7bfa40a56eb749500865f40471f94
entity_id: light.dining_room
domain: light
brightness_pct: 100
mode: single
- id: '1627203838635'
alias: Away lights out
description: ''
trigger:
- platform: time
at: '22:00:00'
condition:
- condition: state
entity_id: input_boolean.vacation
state: 'on'
action:
- scene: scene.goodnight
mode: single
- id: '1629946970098'
alias: Kitchen Secondary
description: ''
use_blueprint:
path: stu1811/zwave_js_inovelli_lzw30_sn_red_series_dimmer.yaml
input:
zwave_device: 64c5501ed8ec81740573e7535a35c1d5
button_a:
- type: turn_on
device_id: 64c5501ed8ec81740573e7535a35c1d5
entity_id: switch.kitchen_secondary
domain: switch
- type: turn_on
device_id: 8d201a03d040aae57911d4e8c34fe132
entity_id: switch.kitchen
domain: switch
button_b:
- type: turn_off
device_id: 64c5501ed8ec81740573e7535a35c1d5
entity_id: switch.kitchen_secondary
domain: switch
- type: turn_off
device_id: 8d201a03d040aae57911d4e8c34fe132
entity_id: switch.kitchen
domain: switch
config_button: []
- id: '1629947117825'
alias: Kitchen primary
description: ''
use_blueprint:
path: stu1811/zwave_js_inovelli_lzw30_sn_red_series_dimmer.yaml
input:
button_a:
- type: turn_on
device_id: 8d201a03d040aae57911d4e8c34fe132
entity_id: switch.kitchen
domain: switch
- type: turn_on
device_id: 64c5501ed8ec81740573e7535a35c1d5
entity_id: switch.kitchen_secondary
domain: switch
button_b:
- type: turn_off
device_id: 8d201a03d040aae57911d4e8c34fe132
entity_id: switch.kitchen
domain: switch
- type: turn_off
device_id: 64c5501ed8ec81740573e7535a35c1d5
entity_id: switch.kitchen_secondary
domain: switch
zwave_device: 8d201a03d040aae57911d4e8c34fe132
- id: '1632751736976'
alias: Switches off
description: ''
trigger: []
condition: []
action:
- service: zwave_js.multicast_set_value
target:
device_id:
- 8d201a03d040aae57911d4e8c34fe132
- 96149711067e16f9e460b1bc5512274c
- 2734b4143b8128ea6dfa3ba0e18e498a
- 4d4eab8d73fbf006193f2a86acb904ff
- 21882f8f4d468a61f9cd971282fa626f
- 4a8cc55213c38121392f56e21f2e8865
- b5305db31eb132967b9cab829e5d4d1a
- 88e3891ded4ad6928c75381b28ae3e45
data:
command_class: '37'
property: targetValue
value: false
mode: single
- id: '1632751917722'
alias: Dimmers Off
description: ''
trigger: []
condition: []
action:
- service: zwave_js.multicast_set_value
data:
command_class: '38'
property: targetValue
value: 0
target:
device_id:
- 1ce7bfa40a56eb749500865f40471f94
- 962371c17c424f30f07dfa889cc9362e
- 26b584f450abdc6ef481264f6b6868b4
mode: single
- id: '1633832098779'
alias: Set Irrigation Delay
description: ''
trigger:
- platform: state
entity_id: input_number.rain_delay_days
condition: []
action:
- service: rainbird.set_rain_delay
data:
duration: '{{ states(''input_number.rain_delay_days'')|int }}'
mode: single
- id: '1633833475541'
alias: Set Rain Delay to Sensor
description: ''
trigger:
- platform: state
entity_id: sensor.raindelay
- platform: homeassistant
event: start
condition: []
action:
- service: input_number.set_value
target:
entity_id: input_number.rain_delay_days
data:
value: '{{ states(''sensor.raindelay'')|int }}'
mode: single
- id: '1636040774015'
alias: Zen34 up
description: ''
trigger:
- platform: device
device_id: b760d47039bdc845ceee5802a30cfb90
domain: zwave_js
type: event.value_notification.central_scene
property: scene
property_key: '001'
endpoint: 0
command_class: 91
subtype: Endpoint 0 Scene 001
condition: []
action:
- device_id: a5b1db4b20b67bd02a3e53bc86418b2a
domain: light
entity_id: light.dog_light
type: brightness_increase
- device_id: f0fa43f0b0ea9817b19d80deda0b9f90
domain: light
entity_id: light.formal_corner
type: brightness_increase
mode: single
- id: '1636041285570'
alias: Zen34 down
description: ''
trigger:
- platform: device
device_id: b760d47039bdc845ceee5802a30cfb90
domain: zwave_js
type: event.value_notification.central_scene
property: scene
property_key: '002'
endpoint: 0
command_class: 91
subtype: Endpoint 0 Scene 002
condition: []
action:
- device_id: f0fa43f0b0ea9817b19d80deda0b9f90
domain: light
entity_id: light.formal_corner
type: brightness_decrease
- device_id: a5b1db4b20b67bd02a3e53bc86418b2a
domain: light
entity_id: light.dog_light
type: brightness_decrease
mode: single
- id: '1649374884799'
alias: Yard_Waste_Auto
description: ''
use_blueprint:
path: bruxy70/import_txt.yaml
input:
import: sensor.yard_waste_pickup
garbage_collection_entity: sensor.yard_waste
- id: '1654079082633'
alias: Move Garage On Holiday Week
description: ''
use_blueprint:
path: bruxy70/multiple_holidays_in_week.yaml
input:
garbage_collection_entity: sensor.garbage
holiday_entity: calendar.ri_holidays
- id: '1654082517833'
alias: Move Recycling on Hliday
description: ''
use_blueprint:
path: bruxy70/multiple_holidays_in_week.yaml
input:
garbage_collection_entity: sensor.recycling
holiday_entity: calendar.ri_holidays