-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
169 lines (169 loc) · 3.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
- id: '1507093785956'
alias: Someone Comes Home
trigger:
- entity_id: group.people
from: not_home
platform: state
to: home
condition: []
action:
- condition: state
entity_id: sun.sun
state: below_horizon
- data:
brightness: 255
service: light.turn_on
target:
area_id: kitchen
- service: light.turn_on
data:
brightness_pct: 75
target:
entity_id: light.foyer
- service: switch.turn_on
data: {}
target:
entity_id: switch.patio
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
area_id: foyer
- service: switch.turn_off
data: {}
target:
entity_id: switch.patio
mode: single
- id: '1507093785957'
alias: Everyone Is Away
trigger:
- entity_id: group.people
from: home
platform: state
to: not_home
condition: []
action:
- data: {}
service: light.turn_off
target:
area_id:
- breakfast_nook
- kitchen
- foyer
- 4dff914707a54b27b3e830e9f71a13af
- master_bedroom
- office
- great_room
- service: switch.turn_off
target:
area_id:
- master_bedroom
- foyer
- hallway
- 4dff914707a54b27b3e830e9f71a13af
- master_bedroom
- office
- outside_back
- great_room
data: {}
- service: cover.close_cover
target:
device_id: 3cc3a8e8083c52c6ec0d37c92cd404ad
data: {}
- service: lock.lock
target:
area_id:
- front
- garage
- outside_back
data: {}
- service: remote.turn_off
data: {}
target:
device_id: 24e719f9152f11eb8b11e36d16b26582
mode: single
- id: '1507093785958'
alias: Home Assistant Startup
trigger:
platform: homeassistant
event: start
condition: []
action:
service: notify.push
data:
message: Home Assistant started.
- id: '1634796145226'
alias: Sundown
description: ''
trigger:
- platform: state
entity_id: sun.sun
from: above_horizon
to: below_horizon
condition: []
action:
- type: turn_on
device_id: 5b158adbdb8ae28c8c3152f14a8815f2
entity_id: switch.front_sconces
domain: switch
mode: single
- id: '1634796286204'
alias: Sunrise
description: ''
trigger:
- platform: state
entity_id: sun.sun
from: below_horizon
to: above_horizon
condition: []
action:
- type: turn_off
device_id: 5b158adbdb8ae28c8c3152f14a8815f2
entity_id: switch.front_sconces
domain: switch
- type: turn_off
device_id: 457c93d6207ed456d8a2038f90a1d995
entity_id: switch.front_porch
domain: switch
mode: single
- id: '1651004359644'
alias: Lock Battery Low
description: ''
trigger:
- platform: template
value_template: '{{ iif(states(''sensor.front_door_battery_2'') | int <= 5) }}'
condition: []
action:
- service: notify.push
data:
message: Front door deadbolt battery is low
title: Front door deadbolt battery is low
mode: single
- id: '1663215296632'
alias: Morning
description: ''
trigger:
- platform: time
at: 06:25:00
condition:
- condition: time
before: '12:00:00'
weekday:
- fri
- thu
- wed
- mon
- tue
after: 00:00:00
action:
- service: light.turn_on
data:
brightness_pct: 15
transition: 15
target:
device_id: 9cb4ad47679b42df433d3ddf28ee1c8d
mode: single