-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
58 lines (58 loc) · 1.5 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
- id: '1513112347676'
alias: Build failed
trigger:
- entity_id: binary_sensor.nutshell_master
platform: state
to: 'on'
condition: []
action:
- data:
message: '@nutella say MASTER BUILD {{ states(''sensor.nutshell_master_raw_status'')
}}'
target:
- '#bots'
service: notify.slack_nutshell
- id: '1513374990227'
alias: Coffee brewed
trigger:
- entity_id: binary_sensor.coffee_brewing
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
entity_id: input_boolean.coffee_brewed_today
service: input_boolean.turn_on
- delay: 00:01:30
- data:
message: '{{ [''Hot coffee is ready! :coffee:'',''Coffee brewed! :highfive:'',''Coffee
time! :excited:'','':coffee_parrot::coffee_parrot::coffee_parrot::coffee_parrot:'',''Coffee
ready to go!'',''Thanks for making coffee! :heart:''] | random }}'
target:
- '#coffee'
service: notify.slack_nutshell
- id: '1513375490034'
alias: Reset coffee brewed today status
trigger:
- at: 00:00:00
platform: time
condition:
- condition: state
entity_id: input_boolean.coffee_brewed_today
state: 'on'
action:
- data:
entity_id: input_boolean.coffee_brewed_today
service: input_boolean.turn_off
- id: '1582056936886'
alias: Build light
description: ''
trigger:
- entity_id: sensor.build_light_color
platform: state
- minutes: '5'
platform: time_pattern
condition: []
action:
- service: script.update_build_light_color