-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
56 lines (56 loc) · 1.35 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
- id: '1614188816911'
alias: Park The Car - Slow Flash
description: under 240cm distance
trigger:
- platform: state
entity_id: binary_sensor.parking_slowflash
from: CLEAR
to: DETECTED
condition:
- condition: device
device_id: c05aa39100eb536b410f132e388b88a6
domain: cover
entity_id: cover.garage_door_opener
type: is_open
action:
- service: script.slow_flashing_light
data: {}
mode: single
- id: '1614353220058'
alias: Park The Car - Fast Flash
description: under 160cm distance
trigger:
- platform: state
entity_id: binary_sensor.parking_fastflash
from: CLEAR
to: DETECTED
condition:
- condition: device
device_id: c05aa39100eb536b410f132e388b88a6
domain: cover
entity_id: cover.garage_door_opener
type: is_open
action:
- service: script.fast_flashing_light
data: {}
mode: single
- id: '1614353470073'
alias: Park The Car - Parked
description: Steady on light
trigger:
- platform: state
entity_id: binary_sensor.parking_stop
from: CLEAR
to: DETECTED
condition:
- condition: device
device_id: c05aa39100eb536b410f132e388b88a6
domain: cover
entity_id: cover.garage_door_opener
type: is_open
action:
- type: turn_on
device_id: 00e7c2428477b48ee991c2208b166428
entity_id: switch.parking_light_indicator
domain: switch
mode: single