-
Notifications
You must be signed in to change notification settings - Fork 22
/
st.old
536 lines (476 loc) · 17.2 KB
/
st.old
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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
# this will be all of ST code that was working but not anymore as I am no longer on ST.
# lock:
# platform: mqtt
# name: "Front Door Lock"
# state_topic: "smartthings/Front Door Lock/lock"
# command_topic: "smartthings/Front Door Lock/lock"
# payload_lock: "locked"
# payload_unlock: "unlocked"
# retain: true
# sensor:
# - platform: mqtt
# name: "Den Sliding Door"
# state_topic: "smartthings/Den Sliding Door/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Den Window"
# state_topic: "smartthings/Den Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Kitchen Window"
# state_topic: "smartthings/Kitchen Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Living Room Side Window"
# state_topic: "smartthings/Living Room Side Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Living Room Left Bay Window"
# state_topic: "smartthings/Living Room Left Bay Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Living Room Right Bay Window"
# state_topic: "smartthings/Living Room Right Bay Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Bedroom Window"
# state_topic: "smartthings/Bedroom Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Office Window"
# state_topic: "smartthings/Office Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Bathroom Window"
# state_topic: "smartthings/Bathroom Window/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Office Closet Door"
# state_topic: "smartthings/Office Closet Door/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Bedroom Closet Door"
# state_topic: "smartthings/Bedroom Closet Door/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Front Door"
# state_topic: "smartthings/Front Door/temperature"
# unit_of_measurement: "F"
# qos: 0
# - platform: mqtt
# name: "Washer"
# state_topic: "smartthings/Washer/power"
# unit_of_measurement: "Watts"
# qos: 0
# - platform: mqtt
# name: "Dryer"
# state_topic: "smartthings/Dryer/power"
# unit_of_measurement: "Watts"
# qos: 0
# - platform: mqtt
# name: "Dishwasher"
# state_topic: "smartthings/Dishwasher/power"
# unit_of_measurement: "Watts"
# qos: 0
# binary_sensor:
# - platform: mqtt
# name: "Den Sliding Door"
# state_topic: "smartthings/Den Sliding Door/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Front Door"
# state_topic: "smartthings/Front Door/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Den Window"
# state_topic: "smartthings/Den Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Kitchen Window"
# state_topic: "smartthings/Kitchen Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Bathroom Window"
# state_topic: "smartthings/Bathroom Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Office Window"
# state_topic: "smartthings/Office Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Bedroom Window"
# state_topic: "smartthings/Bedroom Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Living Room Side Window"
# state_topic: "smartthings/Living Room Side Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Living Room Right Bay Window"
# state_topic: "smartthings/Living Room Right Bay Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Living Room Left Bay Window"
# state_topic: "smartthings/Living Room Left Bay Window/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Garage Door Backyard"
# state_topic: "smartthings/Garage Door Backyard/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: door
# - platform: mqtt
# name: "Garage Door Frontyard"
# state_topic: "smartthings/Garage Door Frontyard/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Bedroom Closet Door"
# state_topic: "smartthings/Bedroom Closet Door/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Office Closet Door"
# state_topic: "smartthings/Office Closet Door/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# - platform: mqtt
# name: "Dannys Pixel 2"
# state_topic: "smartthings/Dannys Pixel 2/presence"
# payload_on: "present"
# payload_off: "not present"
# device_class: occupancy
# - platform: mqtt
# name: "Natachas Pixel"
# state_topic: "smartthings/Natachas Pixel/presence"
# payload_on: "present"
# payload_off: "not present"
# device_class: occupancy
# - platform: mqtt
# name: "Mailbox"
# state_topic: "smartthings/Mailbox/contact"
# payload_on: "open"
# payload_off: "closed"
# device_class: opening
# light:
# - platform: mqtt
# name: "Den Lights"
# state_topic: "smartthings/Den Lights/switch"
# command_topic: "smartthings/Den Lights/switch"
# brightness_state_topic: "smartthings/Den Lights/level"
# brightness_command_topic: "smartthings/Den Lights/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Kitchen Lights"
# state_topic: "smartthings/Kitchen Lights/switch"
# command_topic: "smartthings/Kitchen Lights/switch"
# brightness_state_topic: "smartthings/Kitchen Lights/level"
# brightness_command_topic: "smartthings/Kitchen Lights/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Living Room Lights"
# state_topic: "smartthings/Living Room Lights/switch"
# command_topic: "smartthings/Living Room Lights/switch"
# brightness_state_topic: "smartthings/Living Room Lights/level"
# brightness_command_topic: "smartthings/Living Room Lights/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Bedroom Lights"
# state_topic: "smartthings/Bedroom Lights/switch"
# command_topic: "smartthings/Bedroom Lights/switch"
# brightness_state_topic: "smartthings/Bedroom Lights/level"
# brightness_command_topic: "smartthings/Bedroom Lights/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Patio Lights"
# state_topic: "smartthings/Patio Lights/switch"
# command_topic: "smartthings/Patio Lights/switch"
# brightness_state_topic: "smartthings/Patio Lights/level"
# brightness_command_topic: "smartthings/Patio Lights/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Bar Lights"
# state_topic: "smartthings/Bar Lights/switch"
# command_topic: "smartthings/Bar Lights/switch"
# brightness_state_topic: "smartthings/Bar Lights/level"
# brightness_command_topic: "smartthings/Bar Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Bar Lights/color"
# rgb_command_topic: "smartthings/Bar Lights/color"
# white_value_state_topic: "smartthings/Bar Lights/colorTemperature"
# white_value_command_topic: "smartthings/Bar Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Kitchen Counter Lights"
# state_topic: "smartthings/Kitchen Counter Lights/switch"
# command_topic: "smartthings/Kitchen Counter Lights/switch"
# brightness_state_topic: "smartthings/Kitchen Counter Lights/level"
# brightness_command_topic: "smartthings/Kitchen Counter Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Kitchen Counter Lights/color"
# rgb_command_topic: "smartthings/Kitchen Counter Lights/color"
# white_value_state_topic: "smartthings/Kichen Counter Lights/colorTemperature"
# white_value_command_topic: "smartthings/Kitchen Counter Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Island Cabinet Lights"
# state_topic: "smartthings/Island Cabinet Lights/switch"
# command_topic: "smartthings/Island Cabinet Lights/switch"
# brightness_state_topic: "smartthings/Island Cabinet Lights/level"
# brightness_command_topic: "smartthings/Island Cabinet Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Island Cabinet Lights/color"
# rgb_command_topic: "smartthings/Island Cabinet Lights/color"
# white_value_state_topic: "smartthings/Island Cabinet Lights/colorTemperature"
# white_value_command_topic: "smartthings/Island Cabinet Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Den Lamp"
# state_topic: "smartthings/Den Lamp/switch"
# command_topic: "smartthings/Den Lamp/switch"
# brightness_state_topic: "smartthings/Den Lamp/level"
# brightness_command_topic: "smartthings/Den Lamp/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Den Lamp/color"
# rgb_command_topic: "smartthings/Den Lamp/color"
# white_value_state_topic: "smartthings/Den Lamp/colorTemperature"
# white_value_command_topic: "smartthings/Den Lamp/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Living Room Lamp"
# state_topic: "smartthings/Living Room Lamp/switch"
# command_topic: "smartthings/Living Room Lamp/switch"
# brightness_state_topic: "smartthings/Living Room Lamp/level"
# brightness_command_topic: "smartthings/Living Room Lamp/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Front Door Lamp"
# state_topic: "smartthings/Front Door Lamp/switch"
# command_topic: "smartthings/Front Door Lamp/switch"
# brightness_state_topic: "smartthings/Front Door Lamp/level"
# brightness_command_topic: "smartthings/Front Door Lamp/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Dannys Nightstand"
# state_topic: "smartthings/Dannys Nightstand/switch"
# command_topic: "smartthings/Dannys Nightstand/switch"
# brightness_state_topic: "smartthings/Dannys Nightstand/level"
# brightness_command_topic: "smartthings/Dannys Nightstand/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Dannys Nightstand/color"
# rgb_command_topic: "smartthings/Dannys Nightstand/color"
# white_value_state_topic: "smartthings/Dannys Nightstand/colorTemperature"
# white_value_command_topic: "smartthings/Dannys Nightstand/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Toshs Nightstand"
# state_topic: "smartthings/Toshs Nightstand/switch"
# command_topic: "smartthings/Toshs Nightstand/switch"
# brightness_state_topic: "smartthings/Toshs Nightstand/level"
# brightness_command_topic: "smartthings/Toshs Nightstand/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Toshs Nightstand/color"
# rgb_command_topic: "smartthings/Toshs Nightstand/color"
# white_value_state_topic: "smartthings/Toshs Nightstand/colorTemperature"
# white_value_command_topic: "smartthings/Toshs Nightstand/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Biased Lights"
# state_topic: "smartthings/Biased Lights/switch"
# command_topic: "smartthings/Biased Lights/switch"
# brightness_state_topic: "smartthings/Biased Lights/level"
# brightness_command_topic: "smartthings/Biased Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Biased Lights/color"
# rgb_command_topic: "smartthings/Biased Lights/color"
# white_value_state_topic: "smartthings/Biased Lights/colorTemperature"
# white_value_command_topic: "smartthings/Biased Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "TV Lights"
# state_topic: "smartthings/TV Lights/switch"
# command_topic: "smartthings/TV Lights/switch"
# brightness_state_topic: "smartthings/TV Lights/level"
# brightness_command_topic: "smartthings/TV Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/TV Lights/color"
# rgb_command_topic: "smartthings/TV Lights/color"
# white_value_state_topic: "smartthings/TV Lights/colorTemperature"
# white_value_command_topic: "smartthings/TV Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Fig Tree Lights"
# state_topic: "smartthings/Fig Tree Lights/switch"
# command_topic: "smartthings/Fig Tree Lights/switch"
# brightness_state_topic: "smartthings/Fig Tree Lights/level"
# brightness_command_topic: "smartthings/Fig Tree Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Fig Tree Lights/color"
# rgb_command_topic: "smartthings/Fig Tree Lights/color"
# white_value_state_topic: "smartthings/Fig Tree Lights/colorTemperature"
# white_value_command_topic: "smartthings/Fig Tree Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Hallyway Light"
# state_topic: "smartthings/Hallyway Light/switch"
# command_topic: "smartthings/Hallyway Light/switch"
# brightness_state_topic: "smartthings/Hallyway Light/level"
# brightness_command_topic: "smartthings/Hallyway Light/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Hallyway Light/color"
# rgb_command_topic: "smartthings/Hallyway Light/color"
# white_value_state_topic: "smartthings/Hallyway Light/colorTemperature"
# white_value_command_topic: "smartthings/Hallyway Light/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Bedroom Closet"
# state_topic: "smartthings/Bedroom Closet/switch"
# command_topic: "smartthings/Bedroom Closet/switch"
# brightness_state_topic: "smartthings/Bedroom Closet/level"
# brightness_command_topic: "smartthings/Bedroom Closet/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Office Closet"
# state_topic: "smartthings/Office Closet/switch"
# command_topic: "smartthings/Office Closet/switch"
# brightness_state_topic: "smartthings/Office Closet/level"
# brightness_command_topic: "smartthings/Office Closet/level"
# brightness_scale: 99
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Firepit Lights"
# state_topic: "smartthings/Firepit Lights/switch"
# command_topic: "smartthings/Firepit Lights/switch"
# brightness_state_topic: "smartthings/Firepit Lights/level"
# brightness_command_topic: "smartthings/Firepit Lights/level"
# brightness_scale: 99
# rgb_state_topic: "smartthings/Firepit Lights/color"
# rgb_command_topic: "smartthings/Firepit Lights/color"
# white_value_state_topic: "smartthings/Firepit Lights/colorTemperature"
# white_value_command_topic: "smartthings/Firepit Lights/colorTemperature"
# payload_on: "on"
# payload_off: "off"
# retain: true
# switch:
# - platform: mqtt
# name: "Garage Lights"
# state_topic: "smartthings/Garage Lights/switch"
# command_topic: "smartthings/Garage Lights/switch"
# payload_on: "on"
# payload_off: "off"
# retain: true
#- platform: mqtt
# name: "Office Lights"
# state_topic: "smartthings/Office Lights/switch"
# command_topic: "smartthings/Office Lights/switch"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Kitchen Island Lights"
# state_topic: "smartthings/Kitchen Island Lights/switch"
# command_topic: "smartthings/Kitchen Island Lights/switch"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "Backyard Lights"
# state_topic: "smartthings/Backyard Lights/switch"
# command_topic: "smartthings/Backyard Lights/switch"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "House Fan"
# state_topic: "smartthings/House Fan/switch"
# command_topic: "smartthings/House Fan/switch"
# payload_on: "on"
# payload_off: "off"
# retain: true
# - platform: mqtt
# name: "shm"
# state_topic: "smartthings/shm/switch"
# command_topic: "smartthings/shm/switch"
# payload_on: "on"
# payload_off: "off"
# retain: true