-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathscripts.yaml
163 lines (163 loc) · 3.92 KB
/
scripts.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
tag_alarm_disarm:
alias: Tag Alarm - Disarm
sequence:
- service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.calgary_alarm
- device_id: 87bc70b6345efdbf37f8c5b676cf3e4d
domain: lock
entity_id: lock.back_door_lock
type: unlock
- service: notify.ios_all_devices
data:
message: Alarm disarmed and back door unlocked.
title: "\U0001F3E0 Welcome Home"
mode: single
icon: mdi:shield-home
white_noise:
alias: White Noise (25hr)
sequence:
- repeat:
count: '12'
sequence:
- service: media_player.volume_set
target:
entity_id: media_player.joels_room_speaker
data:
volume_level: 0
- service: media_player.play_media
target:
entity_id: media_player.joels_room_speaker
data:
media_content_id: media-source://media_source/local/pink_noise_3600_25h.mp3
media_content_type: audio/mpeg
metadata:
title: pink_noise_3600_25h.mp3
thumbnail:
media_class: music
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: media_player.volume_set
target:
entity_id: media_player.joels_room_speaker
data:
volume_level: 0.4
- delay:
hours: 1
minutes: 0
seconds: 0
milliseconds: 0
mode: single
icon: mdi:sleep
heat_mats_defrost_3hr:
alias: Heat Mats - Defrost (3hr)
sequence:
- type: turn_on
device_id: 6d8df22b3a8519aa45351cb58f0ec3bd
entity_id: switch.exterior_outlet
domain: switch
- delay:
hours: 3
minutes: 0
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 6d8df22b3a8519aa45351cb58f0ec3bd
entity_id: switch.exterior_outlet
domain: switch
mode: single
icon: mdi:snowflake-melt
front_sprinkler_stop:
alias: Front Sprinkler - Stop
sequence:
- repeat:
until:
- condition: state
entity_id: switch.exterior_outlet
state: 'off'
for:
hours: 0
minutes: 0
seconds: 5
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.exterior_outlet
- repeat:
until:
- condition: state
entity_id: switch.front_yard_zone
state: 'off'
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.front_yard_zone
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
mode: single
icon: mdi:sprinkler-variant
front_sprinkler_start:
alias: Front Sprinkler - Start
sequence:
- repeat:
until:
- condition: state
entity_id: switch.front_yard_zone
state: 'on'
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.front_yard_zone
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- condition: state
entity_id: sensor.tempest_st_00084235_rain_intensity
state: None
for:
hours: 0
minutes: 1
seconds: 0
- condition: state
entity_id: switch.front_yard_zone
state: 'on'
- service: switch.turn_on
data: {}
target:
entity_id: switch.exterior_outlet
mode: single
icon: mdi:sprinkler-variant
front_sprinkler_water_timer_6m:
alias: Front Sprinkler - Water Timer (5m)
sequence:
- service: script.turn_on
data: {}
target:
entity_id: script.front_sprinkler_start
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: script.turn_on
data: {}
target:
entity_id: script.front_sprinkler_stop
mode: single
icon: mdi:sprinkler-variant