-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
200 lines (200 loc) · 4.67 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
- alias: Start HomeKit
trigger:
- platform: event
event_type: zwave.network_ready
- platform: event
event_type: zwave.network_complete
action:
- service: homekit.start
id: f97fc7c755d44f24be8c4cedd5d461b7
- alias: Turn on office light if motion
initial_state: false
trigger:
platform: state
entity_id: sensor.multisensor_6_burglar
from: '0'
to: '8'
action:
service: light.turn_on
entity_id: light.fibarodimmerkontor
data:
brightness: 80
id: 5ec3ec836b714a8f9d050a8cc64323a9
- alias: Turn off office light if no motion
initial_state: false
trigger:
platform: state
entity_id: sensor.multisensor_6_burglar
from: '8'
to: '0'
for:
seconds: 5
action:
service: light.turn_off
entity_id: light.fibarodimmerkontor
id: 1939005d253c4e0688c356ed0ba5afe4
- alias: ios_notification_temp_low
trigger:
platform: state
entity_id: sensor.multisensor_6_burglar
from: '0'
to: '8'
action:
- service: notify.ios_petters_iphone
data:
title: Lav temperatur med action
message: Temperaturen er under 17°C. Kanskje på tide å skru på ovnen?
id: 0c4d31e97ae448538f8b11aa20eb75f3
- id: a5768b6b3f9f481aa7390f5d21ec705d
alias: house_empty
trigger:
- entity_id: sensor.house_mode
from: home
platform: state
to: away
condition: []
action:
- data:
message: Sistemann har forlatt huset
title: Huset er tomt
service: notify.ios_petters_iphone
- data:
entity_id: group.all_lights
service: light.turn_off
- id: 5039083bd2f94f62a1fccb8ee8c7772e
alias: house_not_empty
trigger:
- entity_id: sensor.house_mode
from: away
platform: state
to: home
action:
- data:
message: Noen har kommet hjem
title: Huset er ikke tomt
service: notify.ios_petters_iphone
- alias: ''
data:
brightness_pct: 30
entity_id: light.hallway_dimmer
service: light.turn_on
- alias: Generate Z-Wave graph
trigger:
platform: time_pattern
minutes: /5
action:
- service: shell_command.z_wave_graph
id: aa5eab606cb8403f8da2a45e2b48ecca
- id: '1550337190815'
alias: Kjøkkenlys på ved bevegelse
trigger:
- entity_id: binary_sensor.motion_kjokken
from: 'off'
platform: state
to: 'on'
condition:
- condition: state
entity_id: light.fibarodimmerkjokken
state: 'off'
- condition: state
entity_id: input_boolean.kitchen_auto_lights
state: 'on'
action:
- alias: ''
data:
brightness_pct: '25'
entity_id: light.fibarodimmerkjokken
service: light.turn_on
initial_state: true
- id: '1550349968793'
alias: Kjøkkenlys av ved ingen bevegelse
trigger:
- entity_id: binary_sensor.motion_kjokken
for: 00:10
from: 'on'
platform: state
to: 'off'
condition:
- condition: state
entity_id: input_boolean.kitchen_auto_lights
state: 'on'
- condition: state
entity_id: light.fibarodimmerkjokken
state: 'on'
action:
- alias: ''
data:
entity_id: light.fibarodimmerkjokken
service: light.turn_off
initial_state: true
- id: '1554234731461'
alias: Harmony – Living Room Lights On if off
trigger:
- event_data:
key: Up
source_name: Home Assistant
type: keypress
event_type: roku_command
platform: event
condition:
- condition: state
entity_id: light.living_room_dimmer
state: 'off'
action:
- data:
brightness: 10
entity_id: light.living_room_dimmer
service: light.turn_on
- id: '1554234988604'
alias: Harmony – Living Room lights off if on
trigger:
- event_data:
key: Down
source_name: Home Assistant
type: keypress
event_type: roku_command
platform: event
condition:
- condition: state
entity_id: light.living_room_dimmer
state: 'on'
action:
- data:
entity_id: light.living_room_dimmer
service: light.turn_off
- id: '1554235218354'
alias: Harmony – Living Room lights up if on
trigger:
- event_data:
key: Up
source_name: Home Assistant
type: keypress
event_type: roku_command
platform: event
condition:
- condition: state
entity_id: light.living_room_dimmer
state: 'on'
action:
- data:
brightness: 50
entity_id: light.living_room_dimmer
service: light.turn_on
- id: '1554235353159'
alias: Harmony – Living Room lights down if up
trigger:
- event_data:
key: Down
source_name: Home Assistant
type: keypress
event_type: roku_command
platform: event
condition:
- condition: state
entity_id: light.living_room_dimmer
state: 'on'
action:
- data:
brightness: 10
entity_id: light.living_room_dimmer
service: light.turn_on