-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
183 lines (183 loc) · 4.2 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
- alias: Vacation - turn on lights at sunset
initial_state: true
trigger:
- platform: sun
event: sunset
condition:
- condition: state
entity_id: input_boolean.vacation
state: 'on'
action:
- service: script.turn_on
entity_id: script.livingroom_normal
id: 09605e8de26c4f15981dc9a2f18eb911
- alias: Vacation - bedroom lights on
initial_state: true
trigger:
- platform: time
at: '21:00:00'
condition:
- condition: state
entity_id: input_boolean.vacation
state: 'on'
action:
- service: script.turn_on
entity_id: script.bedroom_normal
id: 42c526154916467cb504b76f32b3d98d
- alias: Vacation - go to bed
initial_state: true
trigger:
- platform: time
at: 00:00:00
condition:
- condition: state
entity_id: input_boolean.vacation
state: 'on'
action:
- service: scene.turn_on
entity_id: scene.bedroom_dim
- service: light.turn_off
entity_id: light.livingroom
id: 75710f9b4ca14810a204aacac85ef917
- alias: Update Available Notification
trigger:
- platform: state
entity_id: binary_sensor.updater
from: 'off'
to: 'on'
action:
- service: notify.notify
data_template:
message: Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version')
}} is available.
id: e30a51aa1e2240f7be81b28514d1369d
- alias: Garage Door Open Set Switch Color
trigger:
- platform: state
entity_id: binary_sensor.garage_tilt_sensor
to: 'on'
action:
- service: script.zwave_inovelli_led_color
data:
nodeid: 23
color: red
duration: 'on'
effect: pulse
level: 100
id: 43d5c2acebdf4ac4a3f9bcf97d37aeb8
- alias: Garage Door Close Set Switch Color
trigger:
- platform: state
entity_id: binary_sensor.garage_tilt_sensor
to: 'off'
action:
- service: script.zwave_inovelli_led_color
data:
nodeid: 23
duration: 'off'
effect: 'off'
id: d6be07ceb58846378d06f62bc7eca64b
- alias: Media start
initial_state: true
trigger:
- platform: event
event_type: ozw.scene_activated
event_data:
node_id: 2
scene_id: 1
scene_value_label: Pressed 2 Times
action:
- service: script.media_start
id: 27581524d1b34a83a9bd3991c631ece7
- alias: Media pause
initial_state: true
trigger:
- platform: state
entity_id: media_player.basement_receiver_main
from: 'on'
to: 'off'
condition:
condition: state
entity_id: light.basement
state: 'on'
action:
- service: script.turn_on
entity_id: script.media_pause
id: 72424910e5ac43e4af4d2e7779a562da
- id: '1592672504537'
alias: Notify T-1000 bin full
description: ''
trigger:
- device_id: 2a15b8b3c35c44009c84069f867f8583
domain: binary_sensor
entity_id: binary_sensor.t_1000_bin_full
platform: device
type: turned_on
condition: []
action:
- data:
message: Please empty T-1000 bin
title: T-1000 Roomba bin is full
service: notify.notify
- id: '1592672552040'
alias: New Automation
description: ''
trigger:
- device_id: 73fef5d5e8d945a695a863fbd51cdecc
domain: binary_sensor
entity_id: binary_sensor.hal_bin_full
platform: device
type: turned_on
condition: []
action:
- data:
message: Please empty Hal bin
title: Hal Roomba bin is full
service: notify.notify
- id: '1592677647678'
alias: Clean on Sunday morning
description: ''
trigger:
- at: '9:00:00'
platform: time
condition:
- condition: time
weekday:
- sun
action:
- device_id: 2a15b8b3c35c44009c84069f867f8583
domain: vacuum
entity_id: vacuum.t_1000
type: clean
- id: '1613949731757'
alias: Office lights on
description: ''
trigger:
- platform: event
event_type: zwave_js_value_notification
event_data:
node_id: 7
label: Scene 002
value: KeyPressed
condition: []
action:
- service: light.turn_on
data: {}
entity_id: light.office
mode: single
- id: '1613949846667'
alias: Office lights off
description: ''
trigger:
- platform: event
event_type: ozw.scene_activated
event_data:
node_id: 7
scene_id: 1
scene_value_label: Pressed 1 Time
condition: []
action:
- service: light.turn_off
data: {}
entity_id: light.office
mode: single