-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
143 lines (143 loc) · 3.28 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
- id: '1630085231126'
alias: Зменшення світла | Юра
description: ''
trigger:
- platform: time
at: '23:00'
condition: []
action:
- service: mqtt.publish
data:
topic: zigbee2mqtt/0x804b50fffeb72b0e/set
payload: '{"brightness": 60}'
mode: restart
- id: '1630086440577'
alias: 'Лампа ніч | Юра '
description: 'Виключити лампу '
trigger:
- platform: time
at: 01:10
condition: []
action:
- type: turn_off
device_id: switch.sonoff_1000c26393
entity_id: switch.sonoff_1000c26393
domain: switch
mode: restart
- id: '1634928730028'
alias: '1'
description: ON \ OFF - DI600
trigger:
- platform: device
domain: mqtt
device_id: 0de1e1b7499977c44ed2c4d28e1b1f99
type: action
subtype: button_1_single
discovery_id: 0x04cf8cdf3c7c4ad8 action_button_1_single
condition: []
action:
- type: toggle
device_id: 9f52e3dd2b1952d53bbc41d1fce6be71
entity_id: light.salus_dimmer_di600
domain: light
mode: single
- id: '1634928913103'
alias: '2'
description: On \ Off Sonoff
trigger:
- platform: device
domain: mqtt
device_id: 0de1e1b7499977c44ed2c4d28e1b1f99
type: action
subtype: button_2_single
discovery_id: 0x04cf8cdf3c7c4ad8 action_button_2_single
condition: []
action:
- service: switch.toggle
target:
entity_id: switch.sonoff_1000c26393
mode: single
- id: '1634929665625'
alias: '1 doubl '
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 0de1e1b7499977c44ed2c4d28e1b1f99
type: action
subtype: button_1_double
discovery_id: 0x04cf8cdf3c7c4ad8 action_button_1_double
condition: []
action:
- service: light.turn_on
data:
brightness_pct: 1
target:
device_id: 9f52e3dd2b1952d53bbc41d1fce6be71
mode: single
- id: '1634929728264'
alias: 2 doubl
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 0de1e1b7499977c44ed2c4d28e1b1f99
type: action
subtype: button_2_double
discovery_id: 0x04cf8cdf3c7c4ad8 action_button_2_double
condition: []
action:
- service: light.turn_on
data:
brightness_pct: 100
target:
entity_id: light.salus_dimmer_di600
mode: single
- id: '1634929948670'
alias: '3 onces '
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 0de1e1b7499977c44ed2c4d28e1b1f99
type: action
subtype: button_3_single
discovery_id: 0x04cf8cdf3c7c4ad8 action_button_3_single
condition: []
action:
- service: light.turn_on
data:
brightness_step_pct: -10
target:
entity_id: light.salus_dimmer_di600
mode: single
- id: '1634930071132'
alias: 4 once
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 0de1e1b7499977c44ed2c4d28e1b1f99
type: action
subtype: button_4_single
discovery_id: 0x04cf8cdf3c7c4ad8 action_button_4_single
condition: []
action:
- service: light.turn_on
data:
brightness_step: 10
target:
entity_id: light.salus_dimmer_di600
mode: single
- id: '1643547124786'
alias: Restart system for health
description: ''
trigger:
- platform: time
at: '17:00'
- platform: time
at: 06:00
condition: []
action:
- service: homeassistant.restart
mode: single