-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
70 lines (70 loc) · 1.66 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
- id: '1571293833265'
alias: Kitchen water sensor on alarm notification
trigger:
- entity_id: binary_sensor.water_leak_sensor_158d00023e8f43
platform: state
from: 'off'
to: 'on'
condition: []
action:
service: notify.all
data:
message: Протечка на кухне
- id: '1571293833266'
alias: Kitchen water sensor off alarm notification
trigger:
- entity_id: binary_sensor.water_leak_sensor_158d00023e8f43
platform: state
from: 'on'
to: 'off'
condition: []
action:
service: notify.all
data:
message: Протечка на кухне устранена
- id: '1572892984463'
alias: Turn on light on resident come home
trigger:
- entity_id: group.residents
from: not_home
platform: state
to: home
condition:
- condition: state
entity_id: input_boolean.use_automations
state: 'on'
action:
- alias: ''
service: switch.turn_on
data:
entity_id: switch.wall_switch_ln_158d000233c9ba
- id: '1573393019314'
alias: Notification when Vladimir come home
trigger:
- entity_id: person.vladimir
from: not_home
platform: state
to: home
condition:
- condition: state
entity_id: input_boolean.use_notifications
state: 'on'
action:
- data:
message: Vivi returned home
service: notify.all
- id: '1573587940611'
alias: Notify when Mimi come home
trigger:
- entity_id: person.maria
from: not_home
platform: state
to: home
condition:
- condition: state
entity_id: input_boolean.use_notifications
state: 'on'
action:
- data:
message: Наконец-то ты вернулась, Мими!
service: notify.all