-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautomations.yaml
308 lines (307 loc) · 8.6 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# - id: "1616060381373"
# alias: Tag Brikke is scanned
# description: ""
# trigger:
# - platform: tag
# tag_id: b51cc136-c0d6-4ddc-9795-958eda69188a
# condition: []
# action:
# - service: media_extractor.play_media
# data:
# entity_id: media_player.living_room_tv
# media_content_id: https://www.youtube.com/watch?v=EwhFNvfNVPk&t=117s
# mode: single
- id: "1612620277117"
alias: Cast to Google Hub
mode: restart
description: ""
use_blueprint:
path: kind3r/cast-and-re-cast-a-lovelace-view-to-a-google-hub.yaml
input:
dashboard: lovelace
player: media_player.kitchen_display
view: cast
- id: "1649081912664"
alias: Tibber - Reload Integration Blueprint
description: ""
use_blueprint:
path: erlendsellie/tibber_reload.yaml
input:
entity: sensor.pulse_power
notify: false
- id: "1649098665941"
alias: Nordpool - Reload Integration Blueprint
description: ""
use_blueprint:
path: erlendsellie/nordpool_reload.yaml
input:
entity: sensor.nordpool
notify: true
- id: "1666519974103"
alias: PriceAnalyzer - Control Hot Water Tank
description: ""
use_blueprint:
path: erlendsellie/priceanalyzer_vvb.yaml
input:
sensor: sensor.vvbsensor
climate: climate.varmtvannsbereder
mode: single
- id: "1670796220883"
alias: Reload Integration - Mill Trym
description: ""
use_blueprint:
path: erlendsellie/reload_integration.yaml
input:
entity: climate.trym
notify: true
- id: "1670796277164"
alias: Reload Integration Tyra Mill
description: ""
use_blueprint:
path: erlendsellie/reload_integration.yaml
input:
entity: climate.tyra_heater
notify: true
- id: "1671622551793"
alias: Tag Jobb is scanned - start defrost
description: ""
trigger:
- platform: tag
tag_id: a5a72966-28f2-45b3-9004-7eba690b8e4b
condition: []
action:
- service: script.defrostcar
data: {}
mode: single
- id: "1675106320563"
alias: PriceAnalyzer - Control Climate Office Floor
description: ""
use_blueprint:
path: erlendsellie/priceanalyzer.yaml
input:
sensor: sensor.pricecorrection
number: input_number.office_floor_temperature
climate: climate.office_floor
- id: 1675106320563Aquarium
alias: PriceAnalyzer - Control Climate Aquarium
description: ""
use_blueprint:
path: erlendsellie/priceanalyzer.yaml
input:
sensor: sensor.pricecorrection
number: input_number.aquarium_temperature
climate: climate.aquarium
- id: "1675356794858"
alias: PriceAnalyzer - Varmepumpe Opp
description: ""
use_blueprint:
path: erlendsellie/priceanalyzer.yaml
input:
sensor: sensor.pricecorrection
number: input_number.varmepumpe_opp_temperature
climate: climate.varmepumpe_opp
- id: "1676932383512"
alias: PriceAnalyzer - Control Climate Living Room Heater
description: ""
use_blueprint:
path: erlendsellie/priceanalyzer.yaml
input:
sensor: sensor.pricecorrection
number: sensor.tempsenttoheater
climate: climate.living_heater
- id: "1679003666458"
alias: ToggleOfficeLightsAqaraSwitch
description: ""
trigger:
- platform: state
entity_id:
- sensor.office_aqara_switch_action #z2m-problem
to: single
condition: []
action:
- if:
- condition: state
entity_id: light.office_light
state: "on"
then:
- service: light.turn_off
data: {}
target:
entity_id: light.office_lights
else:
- service: light.turn_on
data: {}
target:
entity_id: light.office_lights
mode: single
- id: "1683626857839"
alias: Frigate Blueprint Driveway TV
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.driveway
notify_device: 727474a5d18e36e7d6bd3039605a5748
message: "{{label}} detected in {{camera_name}}"
critical: "true"
tv: true
update_thumbnail: false
icon:
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else 'home-assistant'}}
channel: cctv
labels:
- person
- dog
- cat
- package
- bird
- bicycle
- mouse
color: teal
loiter_timer: 4
url_2:
"{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}"
button_2: View Stream
notify_group: tv_notifications
base_url: https://hjem.sellie.no
tv_transparency: 50%
tv_size: small
tv_position: top-left
- id: "16836268578392"
alias: Frigate Blueprint Driveway Phone
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.driveway
notify_device: f9128d37022ff73e005f0099f88573d0
message: "{{label}} detected in {{camera_name}}"
critical: "false"
tv: false
update_thumbnail: false
icon:
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else 'home-assistant'}}
channel: cctv
labels:
- person
- dog
- cat
- package
- bird
- bicycle
- mouse
color: amber
loiter_timer: 4
url_2:
"{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}"
button_2: View Stream
base_url: https://hjem.sellie.no
cooldown: 120
silence_timer: 30
state_filter: true
state_entity: cover.garage_door
state_filter_states:
- closed
- "off"
android_auto: true
- id: "1685997323075"
alias: Low battery level detection & notification for all battery sensors
description: ""
use_blueprint:
path: sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml
input:
time: "20:30:00"
day: 7
actions:
- service: script.notify
data:
variables:
message: Following devices have low battery:{{sensors}}
- id: "1691690023642"
alias: Jaktbod Light Motion
description: ""
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.motion_jaktbod
light_target:
entity_id: light.jaktbod
- id: "1706098134872"
alias: Tag Bad is scanned
description: ""
trigger:
- platform: tag
tag_id: 28dff421-e592-4301-857c-0ac447f28fa6
- platform: tag
tag_id: 0eb24c08-d759-4d0b-acce-dfe2032f9a97
- platform: state
entity_id: sensor.upstairs_knapp_click #z2m-problem
condition: []
action:
- service: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.force_to_wake_up
- service: media_player.media_stop
target:
entity_id: media_player.clock
data: {}
mode: single
- id: "1722256179647"
alias: Frigate Garden
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.garden
notify_device: f9128d37022ff73e005f0099f88573d0
message: "{{label}} detected in {{camera_name}}"
critical: "false"
tv: false
update_thumbnail: false
icon:
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else 'home-assistant'}}
channel: cctv
labels:
- person
- dog
- cat
- package
- bicycle
- mouse
color: amber
loiter_timer: 4
url_2:
"{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}"
button_2: View Stream
base_url: https://hjem.sellie.no
cooldown: 120
silence_timer: 30
state_filter: false
state_filter_states: []
android_auto: true
- id: "1728649042797"
alias: Nordlysvarsel
description: ""
triggers:
- type: turned_on
device_id: 52a6957244c9b54fc0fa4148943b7190
entity_id: d06f022b2ef86532009d9a66e80f20bb
domain: binary_sensor
trigger: device
conditions: []
actions:
- service: script.turn_on
entity_id: script.notify
data_template:
variables:
title: Nordlysvarsel
message: "I kveld er det {{states.sensor.aurora_visibility_visibility.state}} % sjanse for å se nordlys"
mode: single